https://github.com/harshit-paneri/role-based-auth
https://github.com/harshit-paneri/role-based-auth
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/harshit-paneri/role-based-auth
- Owner: harshit-paneri
- Created: 2024-01-17T08:57:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-18T11:27:53.000Z (over 1 year ago)
- Last Synced: 2025-01-26T05:25:15.620Z (5 months ago)
- Language: JavaScript
- Size: 619 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Role Based Access Control
### Install
``` git clone https://github.com/harshit-paneri/role-based-auth.git ```
``` cd role-based-auth ```
``` npm install ```
``` npm start ```
### All Endpoints
- Register Admin
``/api/users/register-admin``
- Register User
``/api/users/register-user``
- Register Super User
``/api/users/register-super-user``
- Login User
``/api/users/login-user``
- Bad Request