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

https://github.com/kamo333/mern-advanced-auth

An authentication system that manages user accounts with signup, email verification, login, logout, password reset, and update features, ensuring secure access by checking authentication for protected resources.
https://github.com/kamo333/mern-advanced-auth

expressjs mailtrap-io mongodb nodejs react tailwind-css

Last synced: 2 months ago
JSON representation

An authentication system that manages user accounts with signup, email verification, login, logout, password reset, and update features, ensuring secure access by checking authentication for protected resources.

Awesome Lists containing this project

README

        

Advanced Authentication System 🔒

About This Project:

- 🔧 Backend Setup
- 🗄️ Database Setup
- 🔐 Signup Endpoint
- 📧 Sending Verify Account Email
- 🔍 Verify Email Endpoint
- 📄 Building a Welcome Email Template
- 🚪 Logout Endpoint
- 🔑 Login Endpoint
- 🔄 Forgot Password Endpoint
- 🔁 Reset Password Endpoint
- ✔️ Check Auth Endpoint
- 🌐 Frontend Setup
- 📋 Signup Page UI
- 🔓 Login Page UI
- ✅ Email Verification Page UI
- 📤 Implementing Signup
- 📧 Implementing Email Verification
- 🔒 Protecting Our Routes
- 🔑 Implementing Login
- 🏠 Dashboard Page
- 🔄 Implementing Forgot Password
- 🚀 Super Detailed Deployment

### Setup .env file

```bash
MONGO_URI=your_mongo_uri
PORT=5000
JWT_SECRET=your_secret_key
NODE_ENV=development

MAILTRAP_TOKEN=your_mailtrap_token

CLIENT_URL= http://localhost:5173
```

### Run this app locally

```shell
npm run build
```

### Start the app

```shell
npm run start
```

### Enjoy! 🚀