Run containers
docker-compose up -d
Open in browser: http://localhost:48888
.
Connect to app
container to run console commands:
docker-compose exec app bash
php bin/console list
Open http://localhost:48888/user/a5b14bac-4c41-440d-b1f7-13c7bd90af6c
Open http://localhost:48888/user/a5b14bac-4c41-440d-b1f7-13c7bd90af6c/pets
Add ?age
query parameter to filter pets by age.
Ex http://localhost:48888/user/a5b14bac-4c41-440d-b1f7-13c7bd90af6c/pets?age=3