This project demonstrates a robust authentication system using Node.js, Express, and JWT with dual support for MongoDB and PostgreSQL, implemented using Mongoose and Prisma ORM, respectively.
- 🔄 JWT-based Authentication (Login, Register)
- ✅ Email verification flow
- 🔑 Password reset functionality
- 🧑 User Roles & Access Control
- 📦 MongoDB with Mongoose
- 🗃️ PostgreSQL with Prisma ORM
- 🍪 Cookie-based session storage (optional)
- 🔒 Environment variable configuration using dotenv
| Layer | Technology |
|---|---|
| Backend | Node.js, Express |
| ORM / ODM | Mongoose (MongoDB), Prisma (PostgreSQL) |
| Databases | MongoDB, PostgreSQL |
| Auth | JWT, bcrypt |
| Environment | dotenv |