Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 696 Bytes

File metadata and controls

40 lines (25 loc) · 696 Bytes

Manual deploy

Database

Run migrations

php bin/console doctrine:migrations:migrate

Fill database with fake users:

php bin/console doctrine:fixtures:load

Testing

Fill database with aforementioned user fixtures first!

php vendor/bin/codecept run api

TODO: tests should have a separate database though for this specific project it's senseless TODO: tests should fill database with fixtures themselves TODO: tests should run all migrations up and down at least once

Documentation

Updating swagger / openapi file:

php vendor/bin/openapi --output api-user.yaml src

See also existing generated docs

TODO: describe failure responses