An example of solving N+1 problem with Symfony, Doctrine and Overblog packages.
Setup ports in docker-compose.yml
, then run docker up
$ docker-compose up
Install dependencies
$ docker-compose exec php-fpm composer install
Init db
$ docker-compose exec php-fpm bin/console d:s:u -f
Visit route /graphiql
.