Jan 25, 2023

Log In Authentication with Password Verification

nodejs passportjs login signup authentication

Log In/Sign Up using Passport(Web App)- Node

This is a basic log in/sign up web app with password encryption and validation using passport in node js.This allows a user to first register or sign up and then log in to the server and then only he/she can access a protected route.After log in user can log out from the protected route and move out.

The routes I built in this server:

  • Opening page with register and log in option
  • register page with required fields
  • log in page with a suitable form
  • protected dashboard 
  • log out page

Module/Library used:

Install:

To get the source code go the repo and fork:

 https://github.com/Atanu-Kumar-Dey/Log-In-by-Passport.git

Setup:

To run in local device just use the following command in the cmd:

npm init -y

⇒ node app.js

⇒ node dev(for development purpose)

 

 

 

Give a star to encourage!Discussion
Start a new conversation!
Login to join the discussion

More Builds by Atanu Dey

tailwind static responsive webapp
figma ui prototype component material design
bootstrap static tamplate portfolio responsive
figma prototyping materialui logistic app