Skip to content

Authenticate user on login page with database using passport.js

Notifications You must be signed in to change notification settings

HimanshuP90/contact_manager_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contact_manager_auth

----Flow of the code-----:

  1. Home Page with Login & Signup
  2. When user signup first time records saved in database & able to login with same credentials.
  3. If user again signup with same credentials then message prompt on screen "That username is already taken."
  4. If user login with wrong credentials then message prompt on the screen "Oops! Wrong password."

Requirement

  1. MySQL
  2. Express
  3. Passportjs
  4. Nodejs
  5. EJS

For run the code

  1. git clone https://github.com/HimanshuP90/contact_manager_auth.git
  2. npm install
  3. npm start
  4. go to http//localhost:3000

About

Authenticate user on login page with database using passport.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published