@TraversyMedia
  @TraversyMedia
Traversy Media | Learn The MERN Stack - JWT Authentication @TraversyMedia | Uploaded February 2022 | Updated October 2024, 1 hour ago.
In this video, we will secure our API by adding JWT authentication

πŸ’» Code:
github.com/bradtraversy/mern-tutorial

πŸ‘‡ Full React 2022 Course With $12.99 promo:
udemy.com/course/react-front-to-back-2022/?couponCode=REACTF2BFEB2022

πŸ‘‡ Website & Courses:
traversymedia.com

πŸ’– Show Support
Patreon: patreon.com/traversymedia
PayPal: paypal.me/traversymedia

πŸ‘‡ Follow Me On Social Media:
Twitter: twitter.com/traversymedia
Instagram: instagram.com/traversymedia
Linkedin: linkedin.com/in/bradtraversy

Timestamps:
0:00 - Intro & Current Code
1:45 - What is JWT?
3:10 - User Model
6:00 - Add User to Goal Model
7:21 - User Routes & Controller Functions
14:38 - Register User
18:58 - Hash Password
22:07 - Authenticate User
25:40 - Generate JWT
29:54 - Auth Middleware
37:34 - Protecting Routes & getMe()
41:25 - Protect Goal Routes
43:10 - Get Only Users Goals
44:00 - Setting a User Goal
47:00 -Update a User Goal
49:30 - Delete User Goal
Learn The MERN Stack - JWT AuthenticationMicroservices Crash Course & Moleculer JS IntroBuild An AI Image Generator With OpenAI & Node.jsQuokka | The JavaScript ScratchpadBuild a GitHub Jobs App With React HooksVue 3 & Composition API - Full ProjectAdmin Dashboard From Scratch - Next.js, TypeScript, Shadcn/uiNew Bootstrap 5 Course & Why Bootstrap?Build a Keyword Extractor: React + OpenAI API + Chakra UITerminal Style Landing Page | WinBox.jsBuild Hangman With ReactReact Router v6 Major Changes

Learn The MERN Stack - JWT Authentication @TraversyMedia

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER