Skip to content

iRepoter is a platform that allows users report suspicious or criminal activitiess in thier neighbourhooh for action by relevant authorities. iReporter enables citizen(Users) 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 E.g A ba…

Notifications You must be signed in to change notification settings

boscoseries/iReporter

Repository files navigation

iReporter

Build Status Coverage Status Maintainability Test Coverage

iRepoter is an application that allows users report suspicious or criminal activitiess in thier neighbourhooh for action by relevant authorities. iReporter enables citizen (Users) 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 E.g A bad road or bridge

Stack Used

  • HTML
  • CSS
  • Nodejs
  • Express

Link to Hosted App

https://i-reporterjb.herokuapp.com

Link to Pivotal Tracker

https://www.pivotaltracker.com/n/projects/2227624

Gh Pages

https://boscoseries.github.io/iReporter/UI

Application Features

  • App Homepage
  • User Signup Page
  • User Login Page
  • User Profile Page
  • User Dashboard Page
  • Create New Record Page
  • Admin Page
  • Fetch Endpoints

How To Use

# Clone this repository
$ git clone https://github.com/boscoseries/iReporter.git

# Install dependencies
$ npm install

# Run the app
$ npm start

API Endpoints

GET Request ->  localhost:3000/api/v1
GET Request ->  localhost:3000/api/v1/red-flags
GET Request ->  localhost:3000/api/v1/red-flags/:id
GET Request ->  localhost:3000/api/v1/users
POST Request -> localhost:3000/api/v1/red-flags
POST Request -> localhost:3000/api/v1/red-flags/:id
PATCH Request ->  localhost:3000/api/v1/red-flags/:id/location
PATCH Request ->  localhost:3000/api/v1/red-flags/:id/comments
DELETE Request ->  localhost:3000/api/v1/red-flags/:id

GET Request ->  localhost:3000/api/v1
GET Request ->  localhost:3000/api/v1/interventions
GET Request ->  localhost:3000/api/v1/interventions/:id
GET Request ->  localhost:3000/api/v1/users
POST Request -> localhost:3000/api/v1/interventions
POST Request -> localhost:3000/api/v1/interventions/:id
PATCH Request ->  localhost:3000/api/v1/interventions/:id/location
PATCH Request ->  localhost:3000/api/v1/interventions/:id/comments
PATCH Request ->  localhost:3000/api/v1/interventions/:id/status
DELETE Request ->  localhost:3000/api/v1/interventions/:id


## Tests
    $ npm test


## Author
Johnbosco Okoror

About

iRepoter is a platform that allows users report suspicious or criminal activitiess in thier neighbourhooh for action by relevant authorities. iReporter enables citizen(Users) 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 E.g A ba…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published