Skip to content

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

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

j5ik2o/cqrs-es-example-rs

Repository files navigation

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 example is class-based, not actor-model based.

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

Local Environment

AWS Environment

Links