Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yoursrijit/advanced-mern-authentication

An advanced authentication MERN application featuring secure login, JWT-based authorization, bcrypt encryption, and seamless user management across all platforms.
https://github.com/yoursrijit/advanced-mern-authentication

authentication full-stack mern mongodb nodejs react

Last synced: 11 days ago
JSON representation

An advanced authentication MERN application featuring secure login, JWT-based authorization, bcrypt encryption, and seamless user management across all platforms.

Awesome Lists containing this project

README

        

Advanced Auth System 🔒

[Live App](https://advanced-auth-system.onrender.com/)

[Mailtrap | Used in this Project](https://mailtrap.io/home)

---
![Untitled-2024-08-19-2139](https://github.com/user-attachments/assets/4fd4277d-0441-475a-bfcd-cab976b60e7f)

![ezgif-3-d40924d6e0](https://github.com/user-attachments/assets/f9845e28-e6c5-4822-8ac9-1975f5f5a4a5)

### About This Project:
I created an advanced mail authentication system using the MERN stack, leveraging MongoDB for the database and JWT for secure authentication. The system integrates Mailtrap for email services, enabling features like password recovery, OTP verification, and email validation. Key functionalities include signup, login, logout, and password reset endpoints. The frontend is designed with a user-friendly interface for signup, login, email verification, and a protected dashboard. This project emphasizes security and user experience, providing robust email authentication and account management features.

### Setup .env file

```bash
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
```
---

## Follow to Run this app locally

### Clone the app
```shell
git clone https://github.com/yourSrijit/Advanced-MERN-Authentication.git
cd Advanced-MERN-Authentication
```
### Build the app
```shell
npm run build
```

### Start the app

```shell
npm run start
```

[Connect With Me](https://www.linkedin.com/in/yoursrijit/) 🚀