A complete authentication system built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The project includes Email Verification, Password Reset, and a secure 6-digit OTP feature.
- User Registration and Login
- Email Verification with OTP
- Password Reset functionality using OTP
- Secure authentication using JWT (JsonWebToken)
- User-friendly UI with Tailwind CSS
- Node.js
- Express.js
- MongoDB with Mongoose ORM
- Libraries:
bcryptjscookie-parsercorsdotenvjsonwebtokennodemailer
- React.js
- Tailwind CSS
- Libraries:
axiosreact-router-domreact-toastify
This project implements a fully functional MERN Stack Authentication System:
-
Backend:
- API endpoints for user authentication (Registration, Login, Password Reset, etc.)
- OTP generation and email dispatch using nodemailer.
- Secure password hashing with bcryptjs.
-
Frontend:
- Responsive UI using Tailwind CSS.
- Forms for Login, Registration, and Password Reset.
- OTP input fields for email verification and password reset.
- Integration with backend APIs using Axios.
git clone https://github.com/pradyumn8/Authentication.gitcd servernpm installnpm run servercd clientnpm installnpm run dev