- Configure credentials to your MongoDB instance in .env file
- Run dev server
- Create new section with
POST /sections
endpoint - Create new menu with
POST /menus
endpoint - Get menu with created id through
GET /menus/{id}
endpoint - You get error
Unable to generate an IRI for the item of type \"App\\Document\\Menu\"
- Go to config/services.yaml
- Uncomment CustomIriConverter service, line 25-28
composer install
# Local PHP server
php -S 127.0.0.1:8000 -t public # ^C (Ctrl+C) to stop