![]() |
![]() |
![]() |
![]() |
A full-stack MERN authentication project with secure JWT-based authentication, email verification, password management, and cookie-based sessions. Built using modern tools like Vite, Bootstrap, React Toastify, and Nodemailer.
- β User Signup & Login
- π§ Email Verification using Nodemailer
- π JWT Authentication
- πͺ Cookie-Based Authentication
- π Forgot & Reset Password
- πͺ Secure Logout
- π‘ Protected Routes
- π Toast Notifications
- β‘ Fast Frontend with Vite
- π Auto Server Reload using Nodemon
- React
- Bootstrap 5
- Axios
- React Toastify
- Node.js
- Express.js
- MongoDB
- JSON Web Tokens (JWT)
- Nodemailer
- bcryptjs
- Cookie-Parser
- Nodemon
Rename the .env.example file to .env and add the following:
MONGODB_URL="your_mongodb_url_here"
JWT_SECRET="your_jwt_secret_here"
NODE_ENV="development"
SMTP_USER="your_email_here"
SMTP_PASS="your_email_password_here"
SENDER_EMAIL="your_email_here"- Install Backend Dependencies
cd server
npm install- Install Frontend Dependencies
cd client
npm install- Start Backend Server
cd server
npm run server- Start Frontend
cd client
npm run devAfter starting the application, visit http://localhost:5173 in your browser.



