Symfony / React / API Platform
Requirements :
- php 7.x (mini)
- node 16.x (mini)
- composer
- yarn
- symfony cli
To setup the project :
$ yarn install$ composer installMake a copy of the .env file
$ cp .env .env.localThen change the DATABASE_URL with the correct informations.
Create the database :
$ php bin/console doctrine:database:createIn two differents prompts :
$ symfony server:start$ yarn encore dev-serverFor JS developpers :
When you pull back code you'll need to update database schema and load the fixtures :
$ php bin/console doctrine:migrations:migrate$ php bin/console doctrine:fixtures:loadNb: to add more and more packages use yarn instead of npm