This project is a full-stack User Authentication System built with React.js, Express.js, and MongoDB. It includes the following features:
- Users can create an account with email verification via OTP (One-Time Password).
- OTPs are time-limited to enhance security.
- Users can reset their password securely using an OTP sent to their email.
- Cookies are used to securely manage user sessions and tokens.
- Axios is used for seamless communication between the frontend and backend.
- A responsive and intuitive UI created with React.js to ensure a smooth user experience.
- Frontend: React.js, Axios
- Backend: Node.js, Express.js
- Database: MongoDB
- Security: Cookies for secure session management, OTP time limits
- User registers with an email and password.
- An OTP is sent to the email for verification.
- Account activation is required for login.
- User requests a password reset by entering their email.
- An OTP is sent to the email for password reset verification.
- Users can set a new password upon successful OTP verification.
- Secure cookies are used for managing authentication tokens.
- Axios handles API requests with credentials enabled.
- Clone the repository:
git clone <repository-url>