Главная
Study mode:
on
1
- Intro & Current Code
2
- What is JWT?
3
- User Model
4
- Add User to Goal Model
5
- User Routes & Controller Functions
6
- Register User
7
- Hash Password
8
- Authenticate User
9
- Generate JWT
10
- Auth Middleware
11
- Protecting Routes & getMe()
12
- Protect Goal Routes
13
- Get Only Users Goals
14
- Setting a User Goal
15
-Update a User Goal
16
- Delete User Goal
Description:
Dive into a comprehensive 52-minute video tutorial on implementing JWT authentication in a MERN stack application. Learn how to secure your API by creating a user model, adding user authentication to the goal model, and setting up user routes and controller functions. Explore the process of registering users, hashing passwords, and authenticating users. Master the generation of JSON Web Tokens (JWTs) and implement authentication middleware. Discover how to protect routes, retrieve user-specific data, and manage user goals securely. Follow along as the tutorial covers creating, updating, and deleting user goals while maintaining proper authentication throughout the application.

Learn the MERN Stack - JWT Authentication

Traversy Media
Add to list
0:00 / 0:00