Welcome to another video in this Node JS, Express Series and in this video we are going to talk about local authentication in Express JS using Passport JS . With the help of this we can authenticate using an email-password combination or a username-password combination.

⏲ Time Stamps

  •     00:00 : Start 
    
  •     01:10 : Project Setup
    
  •     03:40 : CSRF protection
    
  •     11:15 : Setting Up User Model
    
  •     17:05 : User Sign Up
    
  •     34:25 : Passport Setup
    
  •     41:36 : User Login
    
  •     56:25 : Protected Routes
    
  •     01:04:02 : User Logout

#node #express #javascript #web-development

Node, Express, and Passport User Sign up, Login and Logout with Protected Routes
7.30 GEEK