Skip to content

SherylWaga/API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iReporter

Build Status Maintainability Coverage Status

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.

Prerequisites

Things you need to run the application;

  • Requirements
  • virtual environment

python3 -m venv venv

pip install -r requirements.txt

Installing

Clone my repository;

git clone https://github.com/SherylWaga/API.git

Running the tests

Run this command on terminal:

pytests

Endpoints

You can run the urls on postman

Method Url Description
POST /api/v1/redflags Create a Redflag
GET /api/v1/redflags View Redflags
GET /api/v1/redflags/1 View specific redflag
PUT /api/v1/redflags/1 Edit comment and location of a redflag
DELETE /api/v1/redflags/1 Delete a Redflag

About

The iReporter API Endpoints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages