Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Role-Based Auth

Overview

This repository implements a simple role-based authentication system, allowing for different levels of access and permissions for users.

Features

  • User registration and login
  • Role-based access control
  • Secure password hashing
  • JWT authentication

Technologies Used

  • Node.js
  • Express
  • MongoDB
  • JWT
  • Bcrypt

Installation

  1. Clone the repository
  2. Install dependencies: npm install
  3. Set up environment variables
  4. Start the server: npm start

Usage

  • Register a new user
  • Assign roles (admin, user, etc.)
  • Access protected routes based on roles

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages