PHP application using Domain-Driven Design (DDD), Command Query Responsibility Segregation (CQRS) and Hexagonal Architecture pattern with Symfony framework and Doctrine ORM.
- Install Docker
- Clone the repo
git clone https://github.com/mikebase/healtho.git
- Go to the project
cd healtho
- Run Docker containers
docker-compose up -d
- Install dependencies
docker exec healtho composer install
- Build the database:
docker exec healtho php bin/console doctrine:database:create --if-not-exists
docker exec healtho php bin/console doctrine:migration:migrate --no-interaction
You can run all th tests with docker exec healtho composer run-script tests
or run them separately
ECS docker exec healtho ./vendor/bin/ecs check
PHPSTAN docker exec healtho ./vendor/bin/phpstan analyse
PHPUNIT docker exec healtho ./vendor/bin/phpunit
http://localhost:8060/