gshimabukuro / jwtToken-react-express

Front- and backend for showing how jwt auth work.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Front- and backend for showing how jwt auth work.


Languages

Language:JavaScript 82.4%Language:HTML 11.0%Language:CSS 6.6%