A full-stack MERN authentication system with secure login, JWT authentication, OTP-based password reset, and email verification. Built with modern UI and deployed on cloud platforms.
- 🔗 Frontend: https://auth-controller-fsd.onrender.com
- 🔗 Backend: https://auth-controller.onrender.com
- 👤 User Registration & Login
- 🔐 JWT Authentication
- 🔒 Protected Routes
- 📩 Forgot Password via Email OTP
- ⏳ OTP Expiry (5 Minutes)
- 🔁 Password Reset Flow
- 🧾 Input Validation (Formik + Yup)
- 🔔 Toast Notifications
- 📱 Responsive UI
- ☁️ Cloud Deployment (Render + MongoDB Atlas)
- React.js
- React Router DOM
- Formik
- Yup
- React Hot Toast
- Bootstrap
- Node.js
- Express.js
- MongoDB
- Mongoose
- JSON Web Token (JWT)
- Nodemailer
- bcrypt.js
- Render (Backend + Frontend)
- MongoDB Atlas
- User registers / logs in
- JWT token is generated
- Protected routes secured using middleware
- Forgot password sends OTP to email
- OTP verification (valid for 5 minutes)
- User resets password successfully
- OTP emails sent using Nodemailer
- Gmail SMTP with App Password authentication
- Secure and reliable email delivery