GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bisonlou/challenge-III: There is wide spread corruption in most developing countries. Ireporter is a tool to helm mitigate corruption among governmaent officials. Citizens can use this platform to report cases of corruption.

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
tests
tests
 
 
upload/images
upload/images
 
 
.codeclimate.yml
.codeclimate.yml
 
 
.coveragerc
.coveragerc
 
 
.coverall.yml
.coverall.yml
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
Procfile
Procfile
 
 
README.md
README.md
 
 
app.py
app.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Build Status Maintainability Coverage Status

A web api to aid government and citizens reduce corruption, and holding leaders and representatives honest and efficient.

Installation

To access the api, browse to https://knightedge.herokuapp.com/ using postman

Technology

Language:  Python
Framework: Flask

How to use

git clone https://github.com/bisonlou/ireporter.git

cd ireporter

virtualenv venv

source venv/Scripts/activate

pip install -r requirements.txt

export variable URI as postrgress connection string

export variable SECRET_KEY as jwt encryption string

python app.py

How to test


pytest

End Points

Method Route Function
POST /api/v1/register Register user
POST /api/v1/login Login
POST /api/v1/redflags Post red flag
POST /api/v1/intervention Post intervention
GET /api/v1/users Get users
GET /api/v1/redflags Get red flags
GET /api/v1/interventions Get interventions
GET /api/v1/redflags/id Get a red flag
GET /api/v1/interventions/id Get an intervention
PUT /api/v1/redflags/id Put a redflag
PUT /api/v1/interventions/id Put an intervention
PATCH /api/v1/redflags/id/location Patch red flag location
PATCH /api/v1/redflags/id/comment Patch red flag comment
PATCH /api/v1/interventions/id/location Patch an intervention location
PATCH /api/v1/interventions/id/comment Patch an intervention comment
PATCH /api/v1/redflags/id Escalate a red flag
PATCH /api/v1/interventions/id Escalate an intervention
DELETE /api/v1/redflags/id Delete a red flag
DELETE /api/v1/interventions/id Patch an intervention

Contributers

Innocent Lou [email protected]

How to Contribute

1.  Check for open issues or open a fresh issue to start a discussion
    around a feature idea or a bug.
2.  Clone [the repository](https://github.com/bisonlou/ireporter.git) on
    GitHub to start making your changes to the **deploy** branch (or
    branch off of it).
3.  Write a test which shows that the bug was fixed or that the feature
    works as expected.
4.  Send a pull request and bug the maintainer until it gets merged and
    published. 

License

Read only

=======

About

There is wide spread corruption in most developing countries. Ireporter is a tool to helm mitigate corruption among governmaent officials. Citizens can use this platform to report cases of corruption.

knightedge.herokuapp.com/

Resources

Readme
Apache-2.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.