This is a demo application for Symfony 4 & Flex showcasing an API for interacting with a product catalog.
-
Clone the repository
git clone git@github.com:dbrumann/product-api.git
-
Install dependencies
composer install
-
Setup database
I usually use SQLite for this. Please make sure you change your local
.env
file according to the comment in thedoctrine/doctrine-bundle
section.bin/console doctrine:schema:update --force bin/console doctrine:fixtures:load
-
(Optional) Run a web server
bin/console server:run