This project's objective is to show Example DDD with CQRS+Event Sourcing.
- akka-actor
- akka-stream
- akka-persistence
- akka-persistence-query
- akka-http
- API Layer
Main
object is what for bootstrap.TodoWriteService
trait is the controller component for write side.TodoReadService
trait is the controller component for read side.- There are models in the
json
package.
- Domain Layer(for the Write Side)
Todo
class is a state in theTodoAggregate
.TodoAggregate
class is implemented by the Actor. It's DDD's Aggregate Root.TodoSupervisor
class is the supervisor forTodoAggregate
.TodoShardFactory
class is the factory ofcluster-sharding
.
- Database Access Layer(for the Read Side)
TodoDao
is the Data Access Object.TodoDas
is that wrapsTodoDao
.
MIT License Copyright (c) 2016 Junichi Kato