The Ultimate Authentication Solution
Auth-Nexus is a modern MERN stack authentication system designed with security, efficiency, and user experience in mind. From OTP-based verification to JWT-secured sessions, it has everything to ensure seamless authentication.
π Live Demo
- π§ Signup with OTP Verification: Ensuring secure onboarding.
- π JWT-based Login: Access your account securely.
- πͺ Logout: Easy and secure session termination.
- β Account Verification Emails: Verify with just a click.
- π¬ Welcome Email Template: Personal touch after verification.
- π Password Reset Link: Forgot your password? We've got you covered.
- π‘οΈ Password Encryption: Using
bcrypt
for top-notch security. - π Token Management: Powered by
crypto
andjsonwebtoken
. - π CORS-Enabled API: Secure cross-origin data exchange.
- π Responsive Pages: Signup, Login, OTP Verification, Email Verification, and Forgot Password.
- π οΈ Protected Dashboard: Accessible only to authenticated users.
- β‘ Seamless Integration: Smooth backend communication.
- Frontend: React, TailwindCSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Email Service: Mailtrap
- Packages:
bcrypt
,cors
,crypto
,jsonwebtoken
git clone https://github.com/MohammedJawwad/Auth-Nexus.git
cd auth-nexus
Backend:
cd backend
npm install
Frontend:
cd ../frontend
npm install
Create a .env file in the backend directory with the following:
MONGO_URI=<Your MongoDB connection string>
JWT_SECRET=<Your JWT secret>
MAILTRAP_USER=<Your Mailtrap user>
MAILTRAP_PASS=<Your Mailtrap password>
Start the Backend:
cd backend
npm start
Start the Frontend:
cd ../frontend
npm start