Overview
Learn how to implement user password authentication in a Node.js & Express app. This course covers adding user registration and authentication routes, hashing and salting passwords for secure storage using bcrypt. The teaching method includes practical demonstrations and coding exercises. This course is intended for beginners looking to enhance their skills in web development with Node.js and Express.
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