react-node-basic-login-access-token
TODO: This demo project is not runnable anymore, since it is no longer maintain a long time.
Folder structure
frontend
Using:
- create-react-app
- connection: axios
- UI/UX: antd
backend
Using:
- Node.js
- mongodb (cloud)
- jsonwebtoken
Development
cd backend
pnpm i
pnpm start
# localhost:4000
cd ../frontend
pnpm i
pnpm start
# localhost:3000
It should automatically redirect you to the localhost:3000
.
For demo login with:
- username:
ha@gmail.com
- password:
ha
After login you will receive the access token.