Skip to content

pritamkhose/JWTAuthMongodb

Repository files navigation

JWTAuthMongodb

A Node.js app using Express 4. Implementing JWT Auth with Mongodb, Passport local.

Running Locally

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.

Update MongoDB credentials

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.

Documentation

Import Postman request for test application within Postman.

For more information about using Node.js articles:

About

NodeJS JWT Auth Mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published