Using JWT to Auth users using the API
This code is a Basic Restful API to explain auth with JWT.
In order to run this code do the following:
- clone or download repo
- Navigate into folder location
- Run npm install
- Change the mongoURI in the config/default.json file to your own database connection string
- And then in you terminal run npm run dev
Video Link: https://www.youtube.com/watch?v=8WQJcGKztbw