Corruption is a huge bane to Africa’s development. African countries must develop novel and localised solutions that will curb this menace, hence the birth of iReporter. iReporter enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public. Users can also report on things that needs government intervention.
Things you need to run the application;
- Requirements
- virtual environment
python3 -m venv venv
pip install -r requirements.txt
Clone my repository;
git clone https://github.com/SherylWaga/API.git
Run this command on terminal:
pytests
You can run the urls on postman
| Method | Url | Description |
|---|---|---|
| POST | /api/v1/redflags | Create a Redflag |
| GET | /api/v1/redflags | View Redflags |
| GET | /api/v1/redflags/1 | View specific redflag |
| PUT | /api/v1/redflags/1 | Edit comment and location of a redflag |
| DELETE | /api/v1/redflags/1 | Delete a Redflag |