Skip to content

Latest commit

Β 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Full-Stack Authentication with MongoDB & PostgreSQL

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.

πŸ” Features

  • πŸ”„ 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

πŸ› οΈ Tech Stack

Layer Technology
Backend Node.js, Express
ORM / ODM Mongoose (MongoDB), Prisma (PostgreSQL)
Databases MongoDB, PostgreSQL
Auth JWT, bcrypt
Environment dotenv

About

Basic auth operations using mongodb and postgres as database

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages