Event Driven Restaurant
This project demonstrate the use of Event Sourcing and CQRS in the context of a Microservices-based system. It consists of a very simple online restaurant application composed by three services: Menu, Customers, and Orders. The intention is to demonstrate the architecture proposed in this talk: When Microservices meet Event Sourcing, presented at:
- The Developers Conference - Sao Paulo 2016
- O'Reilly Software Architecture Conference - New York 2017
- ThoughtWorks Tech Talks Meetup - New York 2017
- Developer Week - New York 2017
- QCon - New York 2017
Tech Stack
Running
Ensure you have a recent version of Java, Maven, and RabbitMQ.
$ cd menu
$ mvn clean install
$ mvn -Dserver.port=8080 spring-boot:run &
$ cd ../customers
$ mvn clean install
$ mvn -Dserver.port=8081 spring-boot:run &
$ cd ../orders
$ mvn clean install
$ mvn -Dserver.port=8082 spring-boot:run &