Learn The MERN Stack - JWT Authentication | Tamil

Published: 11 January 2023
on channel: Code Tamizha Code
2,737
83

In this video, we will secure our API by adding JWT authentication

Join tamil coding community https://chat.whatsapp.com/IqbDS5cpbK5...

Part one: Create Rest end point with Express & Node
   • Learn The MERN Stack - Express & Mong...  

Part three: Learn The MERN Stack - Frontend Authentication | React | Redux Toolkit | Tamil
   • Learn The MERN Stack - Frontend Authe...  

💻 Code:
https://gitlab.com/iyyoo93/mern-stack...

JWT: https://jwt.io/

Timestamps:
0:00 - Intro & Current Code
3:21 - What is JWT?
4:47 - User Model
8:08 - Add User to Goal Model
9:48 - User Routes & Controller Functions
16:23 - Register User
22:38 - Hash Password
28:08 - Authenticate User
31:32 - Generate JWT
35:12 - Auth Middleware
37:34 - Protecting Routes & getMe()
42:45 - Protect Goal Routes
47:16 - Get Only Users Goals
50:00 - Setting a User Goal
51:55 -Update a User Goal
55:28 - Delete User Goal
59:55 - Outro

#mernstack #fullstack #javascript #frontend


Watch video Learn The MERN Stack - JWT Authentication | Tamil online without registration, duration hours minute second in high quality. This video was added by user Code Tamizha Code 11 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,73 once and liked it 8 people.