Skip to content

**Advanced MERN Auth** is a full-stack authentication system with signup, login, email verification, and password reset functionality. Built with the MERN stack, it features JWT authentication, bcrypt password hashing, and secure email services for real-world applications.

Notifications You must be signed in to change notification settings

kaushik0010/Advanced_MERN_AUTH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advanced_MERN_AUTH

⭐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.

Features:

  • 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.

Tech Stack

  • 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.

Screenshots

Dashboard

dashboard

Signup

signup

Login

login

Verify Email

verify-email

Forgot Password

forgot-pass

Reset Password

reset-pass

To run the application locally

Fork or Clone the Project

  • Fork the Project
  • git clone https://github.com/kaushik0010/Advanced_MERN_AUTH.git

Install all the dependencies

npm run build

Start Server

Backend

npm run dev (development mode)
npm run start (production mode)

Frontend

cd Frontend
npm run dev

Open http://localhost:5173 in your browser to access frontend

Setup .env file

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...

About

**Advanced MERN Auth** is a full-stack authentication system with signup, login, email verification, and password reset functionality. Built with the MERN stack, it features JWT authentication, bcrypt password hashing, and secure email services for real-world applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages