"php": ">=8.1"
composer install
php bin/console lexik:jwt:generate-keypair
# change according to your needs
DATABASE_URL=mysql://user@[email protected]:3306/kaffein?serverVersion=mariadb-10.4.6
HUBSPOT_API_KEY=----
HUBSPOT_COMPANY_URL=https://api.hubapi.com/crm/v3/objects/companies
HUBSPOT_CONTACT_URL=https://api.hubapi.com/crm/v3/objects/contacts
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
php bin/console doctrine:fixtures:load
Run local server with Symfony CLI
# it is best if you install the certificates and enabling TLS
symfony server:ca:install
symfony server:start -d
https://127.0.0.1:8000/api/docs
php bin/console app:import
# preparing environment
php bin/console doctrine:database:create --env=test
php bin/console doctrine:schema:update --force -q --no-interaction --env=test
php bin/console d:f:l --no-interaction --env=test
# run tests
vendor/bin/phpunit