JWT Authentication in Easiest Way | Node & React Tutorial

Опубликовано: 14 Август 2022
на канале: Code Bless You
2,396
114

🎓Get FREE access to my upcoming Ultimate Node.js Course for the FIRST 100 students: https://forms.gle/8m9XA7kmc17nHfhz8 🚀

🤩Access the Full React Course - https://www.udemy.com/course/the-ulti...

🗒️MY FAVORITE TOOLS & GEARS
Height Adjustable Desk - https://amzn.to/42qPZkb
Old Desk in Budget - https://amzn.to/3UlaFbm
Favorite Laptop - https://amzn.to/3OrqmKa
LG Monitor for Productivity - https://amzn.to/3uqA5tv
Silent Keyboard(Loved It) - https://amzn.to/3UjagGv
Mouse & Keyboard Combo - https://amzn.to/3Sq50hs
Extra Large Mouse Pad - https://amzn.to/48Nhcjv
Sony Headphones - https://amzn.to/3HHjYed
Cheap Earphones for Editing - https://amzn.to/48eBykN
Daily Use Laptop Stand - https://amzn.to/3Uj8JQL
Mini Speakers for Consuming Content - https://amzn.to/48YgAaK
Mport X Connector - https://amzn.to/3UoHsML
Mic - https://amzn.to/48eCrtD
3 Color Lightbar - https://amzn.to/42qgaaW
Dual Monitor Stand - https://amzn.to/48Nixa1
Stop Watch for Productivity - https://amzn.to/3Un1RBW
Dotted Diary - https://amzn.to/3vYBWq1

🚀Access REDUX Course:- https://www.udemy.com/course/the-ulti...

Learn JWT - json web token in simple and easy explanation. After watching this tutorial, you will master JWT Authentication. For backend we are going to use NodeJS and for frontend we are going to use React JS. So this tutorial will cover User Authentication in MERN stack applications.

Code Link - https://drive.google.com/file/d/1KBYt...

Topics covered in this tutorial
What is jwt?
Why we need jwt?
Jwt authentication node js
How to create secured API
JWT with React
React Signup, login, logout
Make Private Route Component
MERN stack authentication

Overview
00:00 Introduction
00:20 What is jwt & why we need it?
02:40 Setting up Backend - Node js
05:06 Generating Token on Register
09:19 Token for Login
09:49 Verify token on API request
14:37 Setting up Frontend - React js
16:38 Register with JWT
21:44 Login with JWT
22:36 Getting User from Token
28:41 Logout feature
29:30 Sending Token with API
32:21 Private Route
34:33 Fixing Bugs

Social Media Links:
🚀COURSES : https://www.udemy.com/user/code-bless...
🤩INSTAGRAM :   / code_blessyou  
💙FACEBOOK :   / 100077716056158  
🐦TWITTER :   / code_blessyou  
😎LINKEDIN :   / code-bless-you-5b76822b  

COPYWRITE
ICONS : https://www.freepik.com/vectors/cyber...
https://www.freepik.com/vectors/boy-i...
https://www.freepik.com/vectors/polyg...


Tags:
jwt,jwt authentication,jwt token,react login,json web token,react jwt authentication,jwt react,jwt crash course,auth,mern stack tutorial jwt,what is jwt,jwt token react js,jwt course,jwt node js express,jwt authentication node js,jwt auth,jwt tutorial,node js express jwt authentication,jwt node,react login authentication jwt,jwt encode,jwt decode,node js,react js,mern stack,mern,mern stack tutorial,jwt node react,learn jwt


JWT Authentication Tutorial - Node.js What are JSON Web Tokens? JWT Auth Explained [Tutorial] JWT Authentication Tutorial - Node.js and React