Node.js Auth (using JWT)
In this Node.js authentication course, you'll learn how to authenticate requests to your server using JWT's (JSON web tokens). I'll show you how to protect data and guard web pages from users who are not authenticated, how to hash passwords, store user information in a database & how to create web tokens for logged-in users.
What You'll Learn...
Available in
days
days
after you enroll
- 1 - intoduction (15:29)
- 2 - auth routes & controller (11:47)
- 3 - testing routes with postman (7:47)
- 4 - user model (12:46)
- 5 - mongoose validation (23:14)
- 6 - mongoose hooks (7:10)
- 7 - hashing passwords (6:22)
- 8 - auth views (8:03)
- 9 - cookies primer (14:45)
- 10 - JSON web tokens (theory) (7:16)
- 11 - new user signup (part 1) (13:29)
- 12 - new user signup (part 2) (7:43)
- 13 - logging users in (part 1) (16:21)
- 14 - logging users in (part 2) (7:15)
- 15 - protecting routes (11:09)
- 16 - logging out (4:13)
- 17 - checking the current user (7:41)
- 18 - conditional rendering (5:00)
Course Preview
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).