Skip to content

This is the [PHP] backend API that processes the appeals for information and clients pull relevant local data from

License

Notifications You must be signed in to change notification settings

eye-witness/Backend-Worker

Repository files navigation

Backend API Handler

By Eye Witness

This repo contains the PHP backend where the police crime data is handled. The client sends POST requests to get information of crimes in blocks.

It can also support PUT requests from co-operating police forces or fetch crime data when published by police forces.

API documentation can be found here in our documentation repository

Installation

This project requires PHP 7 (beta1 or later). I suggest you either use the instructions at Zend's dedicated PHP 7 site or the vagrant box provided by Rasmus

  1. Clone the respository
  2. If you don't have composer in your path run curl -sS https://getcomposer.org/installer | php
  3. Run composer install

Test suite

There is a test suite available. Simply run php bin/phpunit -c app/ after dependencies are installed (on PHP 7).

About

This is the [PHP] backend API that processes the appeals for information and clients pull relevant local data from

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published