In this video, we will secure our API by adding JWT authentication
💻 Code:
👇 Full React 2022 Course With $ promo:
👇 Website & Courses:
💖 Show Support
Patreon:
PayPal:
👇 Follow Me On Social Media:
Twitter:
Instagram:
Linkedin:
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
1 view
0
0
4 weeks ago 00:20:33 1
Movie “Wicked” Sign of the End Time
4 weeks ago 00:02:36 1
Five Little Elves | Christmas Song For Kids | Super Simple Songs
4 weeks ago 00:02:36 5
Jingle Bells | Christmas Song | Super Simple Songs
4 weeks ago 00:03:02 1
Milk & Cookies | Holiday Song for Kids | Rhymington Square
1 month ago 00:03:02 1
SPX Options Trading : Strategies for Big Gains!
1 month ago 00:04:18 1
Real Life Elementary Episode 1.
1 month ago 00:13:15 1
BREAKING: MASS EXODUS Of Soldiers Rock IDF After BLOODIEST DAY EVER in Lebanon
1 month ago 00:08:50 1
Just Dance 2025 Edition - The Making Of
1 month ago 00:03:31 1
The Hobbies Song for Kids | What Do You Like to Do? | Fun Kids English
1 month ago 00:00:22 1
Do it! Other ways to say Daily English speaking practice English conversation
1 month ago 00:23:23 1
Create CONSISTENT CHARACTERS from an INPUT IMAGE with FLUX! (ComfyUI Tutorial + Installation Guide)
1 month ago 00:01:06 1
Warhammer: Vermintide 2 - Versus PvP Mode | Release Trailer