Welcome to CodeWithZeeshu! 🎉
In this video, we’ll dive deep into building a complete authentication system using the MERN Stack. From start to finish, I’ll guide you through creating a robust authentication flow with advanced features that every developer must know! 💻✨
Frontend React Template: https://github.com/Zeeshu911/MERN_AUTH_REACT_TEMPLATE
Github Repository: https://github.com/Zeeshu911/Complete_MERN_Authentication
What You’ll Learn:
✅ JWT Authentication: Secure your APIs with JSON Web Tokens.
✅ OTP Verification: Implement account verification via Email and Phone Call using Twilio.
✅ Forgot & Reset Password: Enable users to reset passwords securely.
✅ Basic Automation: Add smart features to streamline the process.
✅ Login & Registration: Build a seamless login and registration system with React and Node.js.
Tech Stack Used:
React.js: Frontend development.
Node.js & Express.js: Backend APIs.
MongoDB: Database for user data.
Twilio: Send OTP via phone calls.
NodeMailer: Send OTP via email.
JWT: Secure token-based authentication.
Why Watch This Video?
By the end of this tutorial, you’ll have a working MERN Stack Authentication System with modern features like OTP verification and password reset. Whether you're building a new project or upgrading an existing one, this video has you covered!
🔗 Chapters:
0:00 Introduction
2:30 Project Setup
15:50 Connecting to Database
19:50 Setup Error Middleware
30:32 User Model
42:34 Register Endpoint
01:01:40 Twilio Setup
01:05:00 Generate Verification Code Function
01:10:12 Send Verification Code Function
01:35:28 Setup Router
01:39:20 Testing Register Endpoint
01:54:52 OTP Verification Endpoint
02:12:45 JWT Token Function
02:22:45 Testing OTP Verification Endpoint
02:30:22 Login Endpoint
02:36:55 Testing Login Endpoint
02:40:09 Logout Endpoint
02:43:06 Testing Logout Endpoint
02:44:33 Creating Authentication Middleware
02:51:48 Get User Endpoint
02:54:07 Testing Get User Endpoint
02:55:53 Forgot Password Endpoint
03:09:40 Testing Forgot Password Endpoint
03:11:44 Reset Password Endpoint
03:18:52 Testing Reset Password Endpoint
03:23:37 Automation Setup
3:32:23 Backend Finalization
3:40:26 Starting Frontend
Installation Videos:
https://youtu.be/r0mIrWYzm5c?si=2vBzyDBfAvkfW9zM (How to Install and Setup Nodejs and Nodemon)
https://youtu.be/xD53NT_xXMI?si=gruYx46muG4vaGdx (How to Install VS Code)
🔥 Tags:
CodeWithZeeshu, mern auth, mern authentication, password reset mern, reset password in react js, full stack password reset, authentication in react js, authentication in react js with jwt, react login and registration authentication, login and registration react js, react login and registration, react js project, full stack react project, jwt authentication, react, mongo, express, node, twilio, otp verification, mern stack project, mern stack authentication, mern project
🚀 Let's Connect:
Join me on this coding adventure by subscribing to the channel. Don't forget to hit the notification bell so you never miss an update. Let's learn, build, and grow together in the world of software development!
💻 Connect with Me:
LinkedIn:
https://www.linkedin.com/in/muhammad-zeeshan-khan-dev/
Instagram:
https://www.instagram.com/z_4_zeeshuuu/
Facebook: https://www.facebook.com/profile.php?id=100030535123397&mibextid=9R9pXO
Thank you for being a part of the CodeWithZeeshu community. Happy coding ❤️!
#codewithzeeshu #codewithzee #mongodb #express #react #nodejs #mernstack #mern #code #fullstack #webdevelopment #webapp #css #html #javascript #errorhandling #authentication #cookies #jwt #education