Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 2.04 KB

File metadata and controls

58 lines (37 loc) · 2.04 KB

React_auth

Server

  • MongoDB
  • Express

Client

  • React.js

Installation

  • Make dev.js in server/config dir and paste
module.exports = {
    mongoURI:'<Your MongoDB URI>'
}
cd react_auth-master
npm run dev

Using 3000 & 5000 port for client, server

Features

Server

스크린샷 2021-03-17 오후 5 57 46

스크린샷 2021-03-17 오후 5 49 51

스크린샷 2021-03-17 오후 6 14 30

스크린샷 2021-03-17 오후 6 04 52

Client

/api/users/auth 를 Middleware로써 활용 (login, register 는 유저 브라우저 쿠키에 x_auth 있으면 '/' 로 push)

스크린샷 2021-03-17 오후 5 24 54

스크린샷 2021-03-17 오후 5 25 36

스크린샷 2021-03-17 오후 5 26 02