iReporter is an web platform that enables any/every citizen to bring any form of corruption to the notice of appropriate authorities and the general public and also report on things that needs government intervention.
- Users can sign up
- Users can login
- Users can make a new report (A red flag or intervention)
- Users can edit their reports
- Users can delete their reports
- Users can add geolocation to their report
- Users can change the geolocation of their report
- Admin can change status of the report (drafted, under investigation, resolved, rejected)
- Node JS
- Express
- Mocha & Chai
- ESLint
- Babel
- Travis CI
- Code Climate & Coveralls
To install and run this project you would need to have installed:
- Node Js
- Git
To run:
$ git clone https://github.com/Chrismarcel/iReporter.git
$ cd iReporter
$ npm install
$ npm start
$ npm test
https://www.pivotaltracker.com/n/projects/2227345
You can see a hosted version of the template at https://chrismarcel.github.io/iReporter/UI
The API is currently in version 1 (v1) and is hosted at https://ireporter-api.herokuapp.com/api/v1
Endpoint | Functionality |
---|---|
GET /red-flags | Fetch all red-flags reports |
GET /red-flags/<red-flag-id> | Fetch the details of a single red-flag |
PATCH /red-flags/<red-flag-id>/location | Update the location of a red-flag report |
PATCH /red-flags/<red-flag-id>/comment | Update the comment of a red-flag report |
DELETE /red-flags/<red-flag-id> | Delete a single red-flag |
James Chrismarcel
This is licensed for your use, modification and distribution under the MIT license.