Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to implement user password authentication in a Node.js and Express application. Explore the process of creating registration and authentication routes, simulating a user database, and securely storing passwords using hashing and salting techniques. Follow along as you install the bcrypt dependency, handle new user requests, create controllers and route files, and test the implemented functionality. Gain practical insights into building secure user authentication systems for web applications.
Syllabus
Intro
Welcome
Simulating a users database
Two routes are needed
Create the register controller
Install bcrypt dependency
Handle new user request
Hash and Salt passwords with bcrypt
Create the register route file
Add the route to the server
Start the dev server
Test the register route
Create the auth controller
Create the auth route file
Add the auth route to the server
Test the auth route
Taught by
Dave Gray