⭐DO NOT FORGET TO STAR THIS REPO⭐
Advanced MERN Auth is a full-stack authentication system built with the MERN (MongoDB, Express.js, React, Node.js) stack. This project offers robust authentication features and ensures a seamless user experience with modern security practices.
-
User Signup: Create an account with validation for secure input handling.
-
Login: Authenticate users with email and password.
-
Email Verification: Ensure account ownership with an email verification step.
-
Password Reset: Allow users to reset forgotten passwords securely.
-
Secure Backend: Implement JWT-based authentication and bcrypt for password hashing.
- Frontend: React with hooks and context/state management for dynamic and responsive UI.
- Backend: Node.js with Express.js for APIs and middleware.
- Database: MongoDB for efficient and scalable data storage.
- Additional Tools: Mailtrap for email services, JWT for token-based authentication.
- Fork the Project
git clone https://github.com/kaushik0010/Advanced_MERN_AUTH.git
npm run build
npm run dev (development mode)
npm run start (production mode)
cd Frontend
npm run dev
Open http://localhost:5173 in your browser to access frontend
MONGO_URI=your_mongo_uri
PORT=5000
JWT_SECRET=your_secret_key
NODE_ENV=development
MAILTRAP_TOKEN=your_mailtrap_token
MAILTRAP_ENDPOINT=https://send.api.mailtrap.io/
CLIENT_URL= http://localhost:5173
Don't forget to Follow. Thank You...