This is an example of CQRS/Event Sourcing and GraphQL implemented in Go. This example is class-based, not actor-model based.
This project uses j5ik2o/event-store-adapter-go for Event Sourcing.
Please refer to here for implementation examples in other languages.
- Write API Server(GraphQL)
- Read API Server(GraphQL)
- Read Model Updater on Local
- Docker Compose Support
- Read Model Updater on AWS Lambda
- Deployment to AWS
- Write API Server
- API is implemented by GraphQL (Mutation)
- Event Sourced Aggregate is implemented by j5ik2o/event-store-adapter-go
- Read Model Updater
- Lambda to build read models based on journals
- Locally, run code that emulates Lambda behavior (local-rmu)
- Read API Server
- API is implemented by GraphQL (Query)
This OSS repository mainly utilizes the following technology stack.