Skip to content

Basic auth operations using mongodb and postgres as database

Notifications You must be signed in to change notification settings

Vimalnegi03/Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •