Skip to content

Tire Control is a Web API that gives a way to work with the data related to tires and vehicles for logistic companies.

Notifications You must be signed in to change notification settings

fecaps/tire-control-api

Repository files navigation

The Web API for Tire Control Software

Codacy Badge

Install dependencies

$ composer install

Test application

Script to check for syntax errors, code style, raw metrics stream and perform unit tests:

$ chmod +x scripts/pre-commit.sh
$ ./scripts/pre-commit.sh

Usage

Copy params dist file to params file and change database configs if necessary:

$ cp config/parameters.yml.dist config/parameters.yml 

Access PostgreSQL (default) and create tire_control:

CREATE DATABASE tire_control; 

Create database schema using Doctrine ORM:

$ vendor/bin/doctrine orm:schema-tool:create 

Start local server:

$ php -S localhost:8080 -t public/

Endpoints

Generating local HTML file to check out the available endpoints:

$ aglio -i apiary.apib -o apiary.html

Check out the API documentation online.

About

Tire Control is a Web API that gives a way to work with the data related to tires and vehicles for logistic companies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published