DDD sample application based on the schema.org EventReservation model.
This application, inspired by Codeliner's sample, shows a similar way to implement the Domain-driven design on top of the Zend Expressive framework.
- Choose an event you want to go.
- Fill in a form to reserve your seat.
- The application will generate a ticket and send you a confirmation email.
$ git clone https://github.com/Antoine87/ddd-event-reservation.git
$ cd ddd-event-reservation/
$ composer install
Either
$ php -S 0.0.0.0:8080 -t public/ public/index.php
Or Zend Expressive default script. (see the doc)
$ composer run --timeout=86400 serve
By default the application is shipped and configured to use a sample.db
sqlite database in the data folder.
Both coding style and unit tests :
$ composer check