MERN Authentication Tutorial
In this series, you'll learn how to implement authentication into the MERN stack. To do this, you'll be using JWT's (JSON web tokens) to communicate the authentication status between the browser and the server. You'll also learn how to hash passwords before saving them to the database, using a package called bcrypt.
Check out the video at the bottom of the page for more in-depth course preview.
Example Curriculum
Available in
days
days
after you enroll
- 1 - Introduction & Starter Project (13:15)
- 2 - User Routes, Controller & Model (12:15)
- 3 - Signing up & Hashing Password (13:18)
- 4 - Email & Password Validation (6:01)
- 5 - JSON Web Tokens (theory) (8:27)
- 6 - Signing Tokens (6:23)
- 7 - Logging Users In (8:11)
- 8 - React Auth Context (10:07)
- 9 - Login & Signup Forms (9:08)
- 10 - Making a useSingup Hook (12:36)
- 11 - Making a useLogout Hook (6:47)
- 12 - Making a useLogin Hook (6:05)
- 13 - Getting the Initial Auth Status (8:46)
- 14 - Protecting API Routes (14:24)
- 15 - Making Authorized Requests (8:38)
- 16 - Protecting React Routes (5:59)
- 17 - Assigning Workouts to Users (11:48)
Sign up for Net Ninja Pro
Most popular
Monthly Membership
$9/mo
- Instant access to all courses
- Early access to new courses
- Access to premium & Udemy courses
- Cancel at any time
Yearly Membership
$79/yr
- Instant access to all courses
- Early access to new courses
- Access to premium & Udemy courses
- Save over 25%!
Get your first month half price when you use the code NINJAFLEDGLING. (monthly plan only).