Sample node rest api that requires user to authenticate with jwt tokens.
- npm i
node index.js
- post to
localhost:5000/login
withemail
andpassword
to get access token and refresh token - get
localhost:5000/protected
with access token to test token - post to
localhost:5000/token