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
# IRepoter
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.
### Postman Link
web.postman.co
## Heroku link
young-tundra-12508.herokuap…
## Prerequisites
Things you need to run the appliaction;
- Requirements
- Virtual environment
python3 -m env env
pip intall -r requirements.txt
## installing
Clone my repository;
git clone
github.com
## Running the tests
Run this command on terminal:
pytest
## Endpoints
You can run the urls on postman
Method
URL
Description
POST
api/v1/red-flags
Create red flag
GET
api/v1/red-flags
View red flags
GET
api/v1/red-flags/1
View specific red flag
DELETE
api/v1/red-flags/1
Delete specific red flag
PATCH
v1/red-flags/1/comment
Edit comment of a red flag
PATCH
v1/red-flags/1/location
Edit location of a red flag