Clone repository git clone git@github.com:BreixoAM/backend-test.git
Build and install dependencies (docker needed) make start
The first time it takes a while to install all the dependencies, specially because of phpstan.
make unit
make behat
Get beer by id:
curl --request GET 'localhost:8080/api/beers/1'
Search beer by food:
curl --request GET 'localhost:8080/api/beers/search?food=banana'