json web token is used for auth verification . This project uses mongodb to register user and authenticate existing user.
- npm install.
- Change your mongodb atlas config in config/dbconfig.js , "yoursecret" is a const you can change it accordingly in the code.
- Npm start.
Works best on Heroku.
- Depoly on Heroku .
- Copy the project url .
- Use in the required auth field as api.