MCPcopy Create free account
hub / github.com/serverlesstechnology/cqrs

github.com/serverlesstechnology/cqrs @v0.5.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.5.0 ↗ · + Follow
485 symbols 1,001 edges 67 files 90 documented · 19% 6 cross-repo links updated 14d ago★ 48414 open issues

Browse by type

Functions 363 Types & classes 122
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

cqrs

A lightweight, opinionated CQRS and event sourcing framework targeting serverless architectures.

Command Query Responsibility Segregation (CQRS) is a pattern in Domain Driven Design that uses separate write and read models for application objects and interconnects them with events. Event sourcing uses the generated events as the source of truth for the state of the application.

Together these provide a number of benefits: - Removes coupling between tests and application logic allowing limitless refactoring. - Greater isolation of the aggregate. - Ability to create views that more accurately model our business environment. - A horizontally scalable read path.

Things that could be helpful: - User guide along with an introduction to CQRS and event sourcing. - Demo application using the axum http server. - Change log

Three backing data stores are supported: - PostgreSQL - postgres-es - MySQL - mysql-es - DynamoDb - dynamo-es

Other data stores supported supported elsewhere: - SQLite - sqlite-es

Crates.io docs CodeBuild

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 236
Function 127
Class 90
Enum 22
Interface 10

Languages

Rust100%

Modules by API surface

src/persist/event_store.rs48 symbols
src/doc.rs28 symbols
tests/lib.rs25 symbols
persistence/mysql-es/src/event_repository.rs24 symbols
persistence/dynamo-es/src/event_repository.rs24 symbols
persistence/postgres-es/src/event_repository.rs22 symbols
persistence/dynamo-es/src/testing.rs22 symbols
src/persist/upcaster.rs20 symbols
src/persist/doc.rs17 symbols
persistence/postgres-es/src/testing.rs17 symbols
persistence/mysql-es/src/testing.rs17 symbols
demo/src/domain/aggregate.rs17 symbols

Datastores touched

(mysql)Database · 1 repos
my_dbDatabase · 1 repos
demoDatabase · 1 repos
my_dbDatabase · 1 repos

For agents

$ claude mcp add cqrs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page