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