This video is a complete Login application Node.js using passport, and Passport-local, Local Strategy, It shows how to Login with either Username or Email in the same form. It uses passport js, bcryptjs for password hashing and ejs for templating engine, It also provides an advanced route protection using passport middleware. You're Welcome to subscribe to my channel for more videos. 0:00 - Introduction 12:25 - Setting up Express Server 23:26 - Connecting MongoDB GUI database 29:13 - Setting up Static files 40:06 - Creating and setting up Default Layout 1:28:13 - Creating Passport Middleware 1:50:15 - Creating Route Protection Middleware
This video is a complete Login application Node.js using passport, and Passport-local, Local Strategy, It shows how to Login with either Username or Email in the same form. It uses passport js, bcryptjs for password hashing and ejs for templating engine, It also provides an advanced route protection using passport middleware. You're Welcome to subscribe to my channel for more videos. 0:00 - Introduction 12:25 - Setting up Express Server 23:26 - Connecting MongoDB GUI database 29:13 - Setting up Static files 40:06 - Creating and setting up Default Layout 1:28:13 - Creating Passport Middleware 1:50:15 - Creating Route Protection Middleware