{"id":16983420,"url":"https://github.com/neelxie/ireport-api","last_synced_at":"2026-07-15T19:01:49.944Z","repository":{"id":39824953,"uuid":"158406309","full_name":"neelxie/ireport-api","owner":"neelxie","description":"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.","archived":false,"fork":false,"pushed_at":"2023-02-08T00:48:09.000Z","size":180,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-19T14:48:55.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/neelxie.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-20T14:54:46.000Z","updated_at":"2021-06-21T05:35:19.000Z","dependencies_parsed_at":"2023-02-17T15:15:51.980Z","dependency_job_id":null,"html_url":"https://github.com/neelxie/ireport-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neelxie/ireport-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelxie%2Fireport-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelxie%2Fireport-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelxie%2Fireport-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelxie%2Fireport-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neelxie","download_url":"https://codeload.github.com/neelxie/ireport-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neelxie%2Fireport-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35517479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-15T02:00:06.706Z","response_time":131,"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-10-14T02:28:34.818Z","updated_at":"2026-07-15T19:01:49.924Z","avatar_url":"https://github.com/neelxie.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ireport-api\niReporter 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 need government intervention.\n\n[![Build Status](https://travis-ci.org/neelxie/ireport-api.svg?branch=develop)](https://travis-ci.org/neelxie/ireport-api)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/a439c5890cce4f94b3b50e53036c014e)](https://www.codacy.com/app/neelxie/ireport-api?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=neelxie/ireport-api\u0026amp;utm_campaign=Badge_Grade)\n[![Coverage Status](https://coveralls.io/repos/github/neelxie/ireport-api/badge.svg?branch=develop)](https://coveralls.io/github/neelxie/ireport-api?branch=develop)\n[![Maintainability](https://api.codeclimate.com/v1/badges/aee377f03ebc940278a0/maintainability)](https://codeclimate.com/github/neelxie/ireport-api/maintainability)\n\n\u003cb\u003e Site has been built with.\u003c/b\u003e\n*   Language - Python\n*   Serverside Framework - Flask\n*   Testing Framework - Pytest\n*   Linting Framework - Pylint\n*   Style GuideLine - Autopep8\n\n## Application Demo \n\n*   Check out the [User Interface](https://neelxie.github.io/iReport/UI/)\n\n## Features\n\n  | REQUESTS | APP ROUTES | FUNCTION | ROLE \n  |----------|------------|----------|-----\n  |  GET | /api/v1/ | Default/Home Page. | All\n  |  GET | /api/v1/red-flags | Fetch all red-flags records. | User \n  |  GET | /api/v1/auth/users | Get all app users. | Admin\n  |  GET | /api/v1/auth/users/[user_id] | Get a single user details | Admin\n  |  GET | /api/v1/red-flags/[red_flag_id] | Fetch a specific red-flag by id. | User\n  |  GET | /api/v1/auth/users/[user_id]/red-flags | Fetch a specific red-flag by id. | User\n  |  PATCH | /api/v1/red-flags/[red_flag_id]/location | Edit/Change location of red-flag. | User\n  |  PATCH | /api/v1/red-flags/[red_flag_id]/comment | Edit/Change comment of red-flag. | User\n  |  PATCH | /api/v1/red-flags/[red_flag_id]/status | Change status of red-flag. | Admin\n  |  DELETE | /api/v1/red-flags/[red_flag_id] | Delete red-flag. | User\n  |  POST | /api/v1/red-flags | Create a red-flag record. | User\n  |  POST | /api/v1/auth/signup | Register for an account as a user. | All\n  |  POST | /api/v1/auth/login | Log into app account. | All\n\n## Installation:\n\n*  Clone [this](https://github.com/neelxie/ireport-api.git) git repo to local directory.\n``` cd ireport-api ```\n*  Create a virtual environment:\n``` virtualenv venv ```\n*  Activate virtual environment:\n``` venv\\Scripts\\activate ```\n*  Install dependencies:\n``` pip install -r requirements.txt ```\n*  Do not forget to run this in the develop branch:\n``` git checkout develop ```\n\n## Running the application:\n\nInside the iReport-api folder.\n``` python run.py ```\n\n## Running the tests:\n\n*  Run this command in the project directory.\n``` pytest --cov=.```\n\n## Deployment\n\n*  This app has been deployed on Heroku at the url [here.](https://ireporta.herokuapp.com/api/v1/)\n\n## Contribute\n\n*  Join me [here](https://github.com/neelxie/ireport-api/tree/develop) and let us create super amazing stuff together.\n\n## Credits\n\n*  I thank GOD, to whom everything plays out ALWAYS.\n*  I thank all LevelUp 35 team, facilitators and attendees\n   for the help offered to better me.\n*  I would like to thank Andela for the opportunity to change the world.\n\n## Author\n\n*  Sekidde Derrick","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneelxie%2Fireport-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneelxie%2Fireport-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneelxie%2Fireport-api/lists"}