GaurangShukla / jwt-rest-api-for-login

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub commit merge status GitHub package.json dependency version (prod)

jwt-rest-api-for-login

json web token is used for auth verification . This project uses mongodb to register user and authenticate existing user.

How to use

  1. npm install.
  2. Change your mongodb atlas config in config/dbconfig.js , "yoursecret" is a const you can change it accordingly in the code.
  3. Npm start.

Works best on Heroku.

Heroku

  1. Depoly on Heroku .
  2. Copy the project url .
  3. Use in the required auth field as api.

About


Languages

Language:JavaScript 100.0%