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.
🚀 Link to Deployment on Heroku API V1
📗 Link to API V1 documentation
🚀 Link to Deployment on Heroku API V2
📗 Link to API V2 documentation
Open the terminal and run the following commands
git clone https://github.com/kalsmic/iReporterApi.git
cd iReporterApi
git checkout api-database
python3 -m venv venv
source venv/bin.activate
pip3 install -r requirements.txt
source venv/bin/activate
export APP_SETTINGS="instance.config.ProductionConfig"
export SECRET_KEY="your secret key"
python deploy.py
Enter the command below in the terminal to run the tests with coverage using pytest
pytest --cov
- Python - A programming language that lets you work quickly and integrate systems more effectively
- Flask - A microframework for Python based on Werkzeug, Jinja 2 and good intentions.
Kalule Arthur
Big thanks to LFA's and fellow colleagues at Andela for reviewing the project and the guiding on the basic principles.