This is a sample application to demonstrate Spring Boot and Axon Framework.
The Todo application makes use of the following design patterns:
- Domain Driven Design
- CQRS
- Event Sourcing (TODO)
- Task based User Interface
mvn package
mvn spring-boot:run
Browse to http://localhost:8080/index.html
or
use the REST api directly with curl (or other HTTP client)
Create task:
curl -H "Content-type: application/json" -X POST -d '{"title": "my task"}' http://localhost:8080/api/tasks
List tasks:
curl -H "Accept: application/json" -X GET http://localhost:8080/api/tasks
Complete task:
curl -H "Content-type: application/json" -X POST http://localhost:8080/api/tasks/{identifier}/complete
- Spring Boot - http://projects.spring.io/spring-boot/
- Axon Framework - http://www.axonframework.org/