YoVDO

Learn the MERN Stack - JWT Authentication

Offered By: Traversy Media via YouTube

Tags

Node.Js Courses CRUD Operations Courses API Security Courses Backend Development Courses Password Hashing Courses JWT Authentication Courses

Course Description

Overview

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.

Syllabus

- Intro & Current Code.
- What is JWT?.
- User Model.
- Add User to Goal Model.
- User Routes & Controller Functions.
- Register User.
- Hash Password.
- Authenticate User.
- Generate JWT.
- Auth Middleware.
- Protecting Routes & getMe().
- Protect Goal Routes.
- Get Only Users Goals.
- Setting a User Goal.
-Update a User Goal.
- Delete User Goal.


Taught by

Traversy Media

Related Courses

Designing RESTful APIs
Udacity
Introduction to NodeJS
Microsoft via edX
Exploring GraphQL: A Query Language for APIs
Linux Foundation via edX
Build a Google Firebase Web Application
Coursera Project Network via Coursera
Build a Twitter Clone Backend
Coursera Project Network via Coursera