This project demonstrates Role-Based Access Control (RBAC) using Django and Django Rest Framework.
- Python 3.x
- Pip (Python package manager)
- Virtualenv (Optional but recommended)
-
Clone the Repository:
git clone https://github.com/yourusername/rbac_project.git cd rbac_project
-
Create a Virtual Environment (Optional but recommended): python -m venv env source env/bin/activate # On Windows, use
env\Scripts\activate
-
Install Dependencies: pip install -r requirements.txt
-
Run Migrations: python manage.py migrate
-
Create a Superuser: python manage.py createsuperuser
-
Run the Development Server: python manage.py runserver