Just a little API server project allowing to manage a catalog of pizzas and their ingredients
- PHP 8.0.0 or higher
- MySQL 8.0 or higher
- Composer 2
symfonybinary (download here)
- Create your own
.env.localfile from the.envfile - In the
.env.localfile, replace the value of theDATABASE_URLenv var with your own value
$ composer install
$ bin/console doctrine:migration:migrate
$ bin/console doctrine:fixtures:load
$ symfony serve
The API can be tested using the sandbox: https://localhost:8000/api/doc (by default)
A header X-API-KEY must be provided for each API call. Your API key is: mustBeASecret
$ ./bin/phpunit



