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.
- Host: GitHub
- URL: https://github.com/kamo333/mern-advanced-auth
- Owner: KAMO333
- Created: 2025-01-08T20:40:45.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-24T16:59:01.000Z (4 months ago)
- Last Synced: 2025-02-06T22:36:51.912Z (4 months ago)
- Topics: expressjs, mailtrap-io, mongodb, nodejs, react, tailwind-css
- Language: JavaScript
- Homepage:
- Size: 291 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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=developmentMAILTRAP_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! 🚀