Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.08 KB

README.md

File metadata and controls

56 lines (34 loc) · 1.08 KB

PHP demo app

TODO features

Scan code for TODO feature.

Pick a feature that sounds interesting to you and implement it.

TODO features are focused on design, database, testing and tooling.

The difficulty of each feature varies.

Setup

1. step

Create empty file and start composition

touch .env.local
docker-compose up

2. step

Wait for the first step, then reset the database with following the command:

docker-compose exec -u $UID php php bin/console.php mig:res

Tests & static analysis

In order to run the tests, the docker composition has to be running.

docker-composer exec -u $UID php composer tests
docker-composer exec -u $UID php composer stan

Api

Public HTTP API provided by this demo.

Default http address is: http://172.22.0.20.

Routes

Utils