{"id":21186747,"url":"https://github.com/emmanuelaaron/ireporter","last_synced_at":"2026-03-19T19:13:32.662Z","repository":{"id":50200356,"uuid":"158361804","full_name":"Emmanuelaaron/iReporter","owner":"Emmanuelaaron","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-08T01:19:21.000Z","size":3448,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"api-end-points","last_synced_at":"2025-06-08T14:44:26.351Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Emmanuelaaron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-20T09:14:48.000Z","updated_at":"2019-01-16T07:09:40.000Z","dependencies_parsed_at":"2023-01-25T02:45:26.546Z","dependency_job_id":null,"html_url":"https://github.com/Emmanuelaaron/iReporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Emmanuelaaron/iReporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emmanuelaaron%2FiReporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emmanuelaaron%2FiReporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emmanuelaaron%2FiReporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emmanuelaaron%2FiReporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Emmanuelaaron","download_url":"https://codeload.github.com/Emmanuelaaron/iReporter/tar.gz/refs/heads/api-end-points","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emmanuelaaron%2FiReporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006109,"owners_count":26084026,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T18:25:48.188Z","updated_at":"2025-10-11T03:26:06.787Z","avatar_url":"https://github.com/Emmanuelaaron.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iReporter\n[![Build Status](https://travis-ci.org/Emmanuelaaron/iReporter.svg?branch=api-end-points)](https://travis-ci.org/Emmanuelaaron/iReporter)\n[![Coverage Status](https://coveralls.io/repos/github/Emmanuelaaron/iReporter/badge.svg?branch=api-end-points)](https://coveralls.io/github/Emmanuelaaron/iReporter?branch=api-end-points)\n[![Maintainability](https://api.codeclimate.com/v1/badges/16dced1073a6f03e1ed2/maintainability)](https://codeclimate.com/github/Emmanuelaaron/iReporter/maintainability)\n\nCorruption 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\n\n## Getting started\nYou can clone this [repo](https://github.com/Emmanuelaaron/iReporter.git) on your local machine or checkout the user-interface on [gh-pages](https://emmanuelaaron.github.io/iReporter/UI/temps/start_page) and the app is hoted on [heroku](https://ireportere.herokuapp.com/)\n\n### Prerequisites\nInstall [python](https://www.python.org/downloads/release/python-371/) on your local machine\n\n### Installing\nClone the this repo on your local machine\n```\n$ git clone https://github.com/Emmanuelaaron/iReporter.git\n```\ncd into the cloned directory, install the virtual environment and activate, checkout to the most stable branch and install all the dependences.\n```\n$ cd iReporter\n$ pip install virtualenv\n$ virtualenv venv\n$ source venv/Scripts/activate\n$ git checkout api-endpoints\n$ pip install -r requirements.txt\n$ python run.py\n```\n* copy the Url it into postman and put to run any endpoint of your preference in the table below with the url prefix ('/api/v1') for each endpoint.\n\nHTTP Method | Endpoint | Functionality | Parameters \n------------|----------|---------------|------------\nPOST | /signup | User able to signup | None\nPOST | /red-flags | Creates a red flag| None\nGET | /red-flags | Gets all red flags | None\nGET | /red-flags/\u003cint:flag_id\u003e | Gets a specific red flag | Flag_id\nDELETE | /red-flags/\u003cint:flag_id\u003e | deletes a specific red flag | Flag_id\n\n## Running Tests\nInstall pytest, activate the virtual environment and then run the tests\n```\n$ pip install pytest\n$ pytest\n```\nYou can checkout the code coverage by using the code below\n```\n$ pytest --cov=.\n```\nMake sure your virtual environment is activated\n\n## Deployment\nThe application is hosted on [heroku](https://ireportere.herokuapp.com/)\n\n## Tools Used\n* [python](https://www.python.org/downloads/release/python-371/)\n* [Flask](http://flask.pocoo.org/) Micro web framework for python\n* [pip](https://pip.pypa.io/en/stable/) package installer for python\n* [Virtualenv](https://virtualenv.pypa.io/en/stable/) Tool used to created isolated programs for python\n\n## Built with\nSo far this application has been built with\n* [Python](https://www.python.org/downloads/release/python-371/)\n* [Flask](http://flask.pocoo.org/)\n* HTML\n* CSS\n\n## Contributions\nTo contribute to this project please create a branch off the api-end-points after which you will create a pull request before it is merged back.\n\n## Aurthor\nBy Emmanuel Isabirye\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelaaron%2Fireporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmanuelaaron%2Fireporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmanuelaaron%2Fireporter/lists"}