Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Passport Authentication

This repo contains code for Local email-passport authentication and Google Authentication.

Blog (Local Auth) : Here

Blog (Google Auth) : Here

Tutorial (Local Auth) : Here

Tutorial (Google Auth) : Here

1. USAGE

Install All Packages

npm install express ejs mongoose bcryptjs connect-flash cookie-parser express-session csurf memorystore passport passport-local passport-google-oauth20 nodemailer

Install Nodemon For Development

npm install -D nodemon

Add mongoURI ,Google client ID and Secret, smtp config for sending emails

And Feel free to delete the screenshots directory

Added Options

Image1 Image2 Image3 Image4

Todo ( ✔ -> Done )

✔ Add User Password rest ✔ Add Verify Account ✔ Add Email Sending Options ✔ Added Flash messages for errors

About

Here is a simple Local Authentication USing Node,Express And Passport with Password Encryption Using BcryptJS...

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages