Welcome back to our MERN Full Stack Web Dev course! In this episode, we’ll explore the concept of authorization and authentication, which refers to creating user profiles, and ensuring they have the appropriate permissions to interact with our site, as well as ensuring users without permissions cannot do things they are not permitted to.
Steps Covered:
How to send authentication token through Axios
How to authenticate tokens in the backend (Express) code
How to redirect pages that are unauthorized
How to add an author field using user data
How to create a profile page in React
Key Topics:
Full Stack Development
Frontend development
Backend Development
Password Encryption
User authentication
Authentication tokens
🔗 Resources:
React Docs: https://react.dev/
JWT Explanation: https://jwt.io/introduction
🔔 Don’t forget to like, comment, and subscribe for more full stack development tutorials! Hit the bell icon to get notified when we upload new videos.
#FullStackDevelopment #ReactJS #Vite #MongoDB #NodeJS #WebDevelopment #CodingTutorial #JavaScript #mernstack
Timestamps:
0:00 - Axios authorization
3:54 - Backend Authentication Verification
12:48 - Authentication Testing
18:06 - Redirecting unauthorized pages
20:23 - Logout button
22:37 - Author field
24:53 - Profile page
Watch video MERN Tutorial: Ep 10 - Authentication 2/2 online without registration, duration hours minute second in high quality. This video was added by user Austin Davis 19 July 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19 once and liked it people.