A secure and scalable custom authentication system built using the MERN stack (MongoDB, Express.js, React.js, Node.js). This project includes advanced authentication features such as JWT, email verification, 2FA, and secure cookie-based session management.
- User Registration and Login
- JWT-based Authentication
- Multi-Factor Authentication (2FA)
- Email Verification with OTP
- Secure Cookies and Session Handling
- Input Validation and Error Responses
- RESTful API Architecture
- Frontend: Next.js
- Backend: Node.js, Express.js
- Database: MongoDB (Mongoose ODM)
- Security: JWT, Bcrypt, Email OTP, 2FA
- Libraries: Cookie-parser, CORS
git clone https://github.com/anujverma08/Authentication.git cd Authentication
cd frontend npm install
cd ../backend npm install
cd backend npm run dev
cd frontend npm run dev