Skip to content

TimothyMee/i-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iReporter Build Status Maintainability Coverage Status

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

Requirements

Node.js is required.

Installing

  • clone the repository
  • Run npm install to install all dependencies

Running the tests

To run automated test, simple run

    npm run test

Relevant Links

API Endpoints

  • Red Flags:
    -GET https://timothy-i-reporter.herokuapp.com/api/v1/red-flags
    -GET https://timothy-i-reporter.herokuapp.com/api/v1/red-flags/{id}
    -POST https://timothy-i-reporter.herokuapp.com/api/v1/red-flags
    -PATCH https://timothy-i-reporter.herokuapp.com/api/v1/red-flags/{id}/location
    -PATCH https://timothy-i-reporter.herokuapp.com/api/v1/red-flags/{id}/comment
    -DELETE https://timothy-i-reporter.herokuapp.com/api/v1/red-flags/{id}
  • Interventions:
    -GET https://timothy-i-reporter.herokuapp.com/api/v1/interventions
    -GET https://timothy-i-reporter.herokuapp.com/api/v1/interventions/{id}
    -POST https://timothy-i-reporter.herokuapp.com/api/v1/intervention
    -PATCH https://timothy-i-reporter.herokuapp.com/api/v1/interventions/{id}/location
    -PATCH https://timothy-i-reporter.herokuapp.com/api/v1/interventions/{id}/comment
    -DELETE https://timothy-i-reporter.herokuapp.com/api/v1/interventions/{id}

Built With

  • Node.js - A JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Express.js - A Node.js framework

Versioning

Currently at Version 1 (v1).

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

A Reporting Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published