Skip to content

An authentication app using Node.js, Express and the authentication middleware Passport.js, with MySQL database.

Notifications You must be signed in to change notification settings

Sanjsarma/nodejs-mysql-passport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-mysql-passport

This is an authentication app using Node.js, Express.js and the authentication middleware Passport.js, with MySQL database. The main advantage of using Passport.js is that users can view pages only after logging in successfully.

I found very less documentation for linking Passport.js with MySQL database, so I hope this helps. The npm packages used are:
express
express-ejs-layouts(you can use handlebars or pug)
mysql
bcrypt(For hashing password)
flash(For flash messages)
express-session
passport-local
passport(For authentication during login)

About

An authentication app using Node.js, Express and the authentication middleware Passport.js, with MySQL database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published