[go: up one dir, main page]

Skip to content

DDD sample application based on the schema.org EventReservation model

License

Notifications You must be signed in to change notification settings

Antoine87/ddd-event-reservation

Repository files navigation

Event reservation

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.

Installation

$ git clone https://github.com/Antoine87/ddd-event-reservation.git
$ cd ddd-event-reservation/
$ composer install

Start the application

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.

Testing

Both coding style and unit tests :

$ composer check

File hierarchy

Expand to view the file hierarchy

alt text

About

DDD sample application based on the schema.org EventReservation model

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages