paulmixxx / ddd-cms-sample

DDD Article CMS sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DDD Article CMS sample

Example of using the DDD approach with the Symphony 5 infrastructure

Installation

Up Docker containers

$ docker-compose up -d

Open applications shell

$ docker-compose exec app sh

Apply migrations

$ ./bin/console doctrine:migrations:migrate

Load fixtures

$ ./bin/console doctrine:fixtures:load

Automated tests

$ php /var/www/vendor/phpunit/phpunit/phpunit --no-configuration /var/www/tests

Documentation

Swagger UI: http://localhost/docs

For this sample, you can use the api key special-key to test the authorization filters.

OAS3 API documentation:

public/specification.yaml

ER Diagram

article.uml

About

DDD Article CMS sample


Languages

Language:CSS 82.6%Language:PHP 15.7%Language:HTML 1.1%Language:Shell 0.6%