cqrs-es-example-rs icon indicating copy to clipboard operation
cqrs-es-example-rs copied to clipboard

An example of CQRS/Event Sourcing and GraphQL implemented in Rust.

cqrs-es-example-rs

Workflow Status Renovate License License

Status: In Implementation

This is an example of CQRS/Event Sourcing and GraphQL implemented in Rust.

This project uses j5ik2o/event-store-adapter-rs for Event Sourcing.

Please refer to here for implementation examples in other languages.

日本語

Overview

Component Composition

  • Write API Server
  • 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)

Stack

This OSS repository mainly utilizes the following technology stack.

System Architecture Diagram

Development Environment

  • Tool Setup
  • Build and Test

Local Environment

  • Debugging on Local Machine
  • Debugging on Docker Compose

AWS Environment

  • AWS Setup
  • Deploying to EKS

Links