SimplifyReport is an Android Application with backend on Django REST Framework which simplifies the process of reporting cases of fire 🧯, crimes
This repository contains the REST APIs of the application.
Deployed APIs can be found here.
- Creating User Profile - GET, PUT and POST request
https://simplify-reports.herokuapp.com/profile/
- Making fire reports - GET and POST request
https://simplify-reports.herokuapp.com/fire/
- Making police reports - GET and POST request
https://simplify-reports.herokuapp.com/police/
- Calling ambulance - GET and POST request
https://simplify-reports.herokuapp.com/ambulance/
- Fork and Clone the repository using-
git clone https://github.com/AbsurdNerd/SimplifyReport_Backend
- Create virtual environment-
python -m venv env
Mac OS / Linux:
source env\Scripts\activate
Windows:
env\Scripts\activate
- Install dependencies using-
pip install -r requirements.txt
- Make migrations using-
python manage.py makemigrations
- Migrate Database-
python manage.py migrate
- Create a superuser-
python manage.py createsuperuser
- Run server using-
python manage.py runserver
- Open http://127.0.0.1:8000/ in the browser.
S.No. | Name | Role | GitHub Username |
---|---|---|---|
1. | Dheeraj Kotwani | Android Developer | @dheerajkotwani |
2. | Vatsal Kesarwani | Android Developer | @plazzy99 |
3. | Diya Jaiswal | Backend Developer | @diyajaiswal11 |
4. | Manshi Todi | Backend Developer | @todi-2000 |