Into role-based access control
- This project was built on an existing template setup for Node/Express/MongoDB
accesscontrol
npm package for Role-Based Access Control
- Setup mongodb on your local machine. Check out the guide for MacOS and Windows
- Clone this repo with
git clone https://github.com/Chiazokam/RBAC
- cd into the created folder
- Run
npm install
on the terminal to install all dependencies -
.env.example
contains the data that would be needed in the.env
file. Fill up the necessary data - Run
npm run start:dev
to start the development server - Check out the documentation linked above for all the existing endpoints.
- Following the specification on the docs, send requests to endpoints to view the various responses