jwtToken-react-express
jwtToken-react-express copied to clipboard
Front- and backend for showing how jwt auth work.
jwtToken-react-express
Front- and backend for showing how jwt auth work.
Usage
Backend
First ... create a .env file to store your secrets and port. Something like this:
ACCESS_TOKEN_SECRET=weibenrules
REFRESH_TOKEN_SECRET=weibenrulesevenmore
PORT=4000
Run npm install
Frontend
Run npm install then npm start