A Node.js app using Express 4. Implementing JWT Auth with Mongodb, Passport local.
Make sure you have Node.js installed.
git clone https://github.com/pritamkhose/JWTAuthMongodb.git # or clone your own fork
cd JWTAuthMongodb
npm install
npm nodemon
Your app should now be running on localhost:3000.
In app.js file replace mongodb_username, mongodb_password and mongodb_database_name with your valid credentials MongoDB Cloud or use localhost URL for Local MongoDB.
Import Postman request for test application within Postman.
For more information about using Node.js articles: