Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 838 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 838 Bytes

DDD with Symfony 4

This is a example of an implementation of DDD with Symfony 4.

Requirements

  • Docker

Get started

You need to run the docker image and install all dependencies.

$ docker-compose up -d
$ docker exec -it app_php composer install

Authentication

This app uses JWT. You can find the full api specification in the openapi.yml

Encryption

Safeboxes content are encrypted with sodium

Tests

Unitary tests

Test coverage is important but if you are looking for a 100% you could finish with very fragile tests. That's the reason because this unitary tests are based on behaviours instead of class by class.

docker exec -it app_php bin/phpunit

Functional tests

docker exec -it app_php vendor/bin/codecept run