Skip to content

harshrs641/Authentication-MongoDB-Node.js-Express

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication-MongoDB,Node.js,Express

This is an example for developing RESTful Apis for your application. MongoDB - Database to store user details, Node.js - To execute Javascript code Express - Server

Encrypt passowords before saving it to database using bcrypt Generate token of your authenticated users using JWT Get user details with only authenticated token using passport

Dependencies - bcrypt, body-parser, connect-mongo, cors, cross-env, dotenv, express, jwt-simple, mongoose, morgan, nodemon, passport, passport-jwt.

Example contain - Adding users using email and password, Authenticating Existing users, Getting user details using unique authentication token.

Prerequisite:

  1. MongoDB Atlas Account

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published