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 |