iReporter is a reporting application for users/citizens to communicate any form of corruption to the notice of the appropriate authorities. Users can also report on things that needs government intervention.
- There are two types of users; an admin and a regular user
- Users can register if they have no account or login otherwise
- Users can create a red-flag/intervention incident when it is corruption/government intervention related
- Users can update the incident's location as well as comment
- Users can view and delete the incident they created
- Admin can only update the status of an incident
React: An open source library for building user interfaces. Redux: A state management library
http://ireporterng.herokuapp.com
Register new user: /api/v1/create
Login existing user: /api/v1/login
View all red-flags: /api/v1/red-flags
View all interventions: /api/v1/interventions
Add new red-flag: /api/v1/new-red-flag
Add new interventiion: /api/v1/new-intervention
Edit incident: /api/v1/[^(red-flags|intervention)]$/:id
Delete incident: /api/v1/[^(red-flags|intervention)]$/:id
To clone this repository:
Ensure you have git installed
git clone https://github.com/blackdevelopa/ireporter234.git
Run npm install on your terminal
Run npm dev to start the server
Sylva Elenu - https://github.com/blackdevelopa/