Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

User Password Authentication - Node.js & Express Tutorials for Beginners

Dave Gray via YouTube

Overview

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

Reviews

Start your review of User Password Authentication - Node.js & Express Tutorials for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.