An open API service indexing awesome lists of open source software.

https://github.com/ahmed-maher77/full-stack-authentication-system__mern-stack

A secure and scalable authentication system built with React (Frontend), Node.js, Express.js (Backend), and MongoDB (Database). It features JWT-based authentication, bcrypt password hashing, protected routes, and session management using access and refresh tokens.
https://github.com/ahmed-maher77/full-stack-authentication-system__mern-stack

authentication authentication-backend backend bcrypt cookie-parser cors dotenv expressjs jwt mongodb mongoose nodejs rest-api restful-api

Last synced: 13 days ago
JSON representation

A secure and scalable authentication system built with React (Frontend), Node.js, Express.js (Backend), and MongoDB (Database). It features JWT-based authentication, bcrypt password hashing, protected routes, and session management using access and refresh tokens.

Awesome Lists containing this project

README

          

# Full-Stack Authentication System
A **secure and scalable** authentication system built with **React (Frontend), Node.js, Express.js (Backend), and MongoDB (Database)**. It features **JWT-based authentication, bcrypt password hashing, protected routes, and session management** using **access and refresh tokens**.

## 🔑 **Key Features**
- ✅ **User Authentication** – Secure **registration & login** with real-time validation.
- ✅ **JWT-Based Authentication** – Issues **Access & Refresh Tokens** for session management.
- ✅ **Secure Password Storage** – Uses **bcrypt** for hashing and secure storage.
- ✅ **Protected Routes** – Middleware (**verifyJWT**) restricts access to authenticated users.
- ✅ **Token Expiry & Refresh** – Manages **session persistence** with **HTTP-only cookies**.
- ✅ **Role-Based Access Control (RBAC)** – Grant different permissions to users.
- ✅ **Frontend Integration** – React-based UI with **Axios** for API communication.
- ✅ **Scalable API** – Well-structured backend with **RESTful API design**.

This **full-stack** setup ensures a **secure, scalable, and efficient** authentication system for modern web applications. 🚀