This is a "Bug Claim Server" which gives all general features for a Bug Bounty platform should have.
The backend is completely build on Django using Django Rest Framework
- 5 different roles defined i.e Root Admin, Root Moderator, Company Admin, Company Moderator and Researcher
- Login/Registration for researcher
- Login/Registration for company only by admin or admin moderator(permission)
- Login/Registration for company moderator by only company admin(permission)
- Login/Registration for researcher
- Profile GET and Update by User(for all different roles only by owner)
- Clone this repository:
git clone https://github.com/CybSec-NITW/Bugclaim-Server.git
. - Change the current directory to
backend
folder:cd ./Bugclaim-Server
. - Create a virutal environment and install all backend dependencies with pipenv:
pipenv install
. - Start the virtual environment:
pipenv shell
. - Run
python manage.py makemigrations
. - Run
python manage.py migrate
. - Create a superuser:
python manage.py createsuperuser
- Run the server:
python manage.py runserver
.
API Documentation is generated using the default tool provided by Django Rest Framework.
- Make sure that the Backend Server is running.
- Navigate to the localhost:8000/docs/