Start docker containers
docker-compose up -d
Get a shell
docker exec -ti drunk_php_1 bash
Install project
cd /app
composer install
Dump sql
bin/console orm:schema-tool:create
curl http://localhost:8080/api/users
curl --header "Content-Type: application/json" \
--request POST \
--data '{"username":"mario-rossi","firstName":"Mario","lastName":"Rossi","email":"[email protected]","password":"password"}' \
http://localhost:8080/api/users
curl http://localhost:8080/api/users/1