Complete Login/Signup with Protected Routes using React, Node, MySQL | Login & Registration
Code With Yousaf Code With Yousaf
30.8K subscribers
4,040 views
118

 Published On Sep 3, 2024

In this video, I’ll walk you through creating a complete login and signup system with protected routes using React, Node.js, and MySQL. We'll cover everything from setting up the backend with Node.js and Express, creating the database with MySQL, to building the frontend with React. By the end of this tutorial, you'll have a fully functional authentication system where users can register, log in, and access protected routes based on their authentication status. Whether you're a beginner or looking to solidify your full-stack development skills, this video is perfect for you!

Support Me: https://buymeacoffee.com/codewithyousaf
Source Code: https://github.com/YousafKhan1/React-...

What You'll Learn:
Setting up a Node.js and Express backend
Creating and managing a MySQL database
Building a user registration and login system
Implementing protected routes in React
Handling authentication tokens (JWT)
Best practices for securing user data

Chapters:
0:00 Demo
0:59 Create Projects, Library Installation
10:19 React-Router
11:50 Signup Form Front-end
21:38 Connection with MySQL
28:30 register API
44:13 Login API
52:30 Protected Routes

#loginform #registration #reactjs #nodejs #expressjs #mysql

show more

Share/Embed