Skip to content

Based on node.js which includes user authentication using passport.js in MongoDB Atlas

Notifications You must be signed in to change notification settings

Animesh-456/Passport_Auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Passport_Auth

Based on node.js which includes user authentication using passport.js in MongoDB Atlas

Description

  1. Includes API endpoints which includes Login, Signup and Logout routes
  2. Signup,Login and Logout is done using passport.js module
  3. Every user's credentials are stored in the MongoDB Atlas database including salt and hash (generated by the passport-local-mongoose module)
  4. Authentication is done using passport.authenticate() method
  5. Data Fetched from Cluster in secret.ejs page
  6. In the LogOut route the sessoin is destroyed using the req.logout() method

About

Based on node.js which includes user authentication using passport.js in MongoDB Atlas

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published