Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serverlesstechnology/cqrs
A lightweight, opinionated CQRS and event sourcing framework.
https://github.com/serverlesstechnology/cqrs
cqrs ddd event-sourcing
Last synced: 3 months ago
JSON representation
A lightweight, opinionated CQRS and event sourcing framework.
- Host: GitHub
- URL: https://github.com/serverlesstechnology/cqrs
- Owner: serverlesstechnology
- License: other
- Created: 2020-04-07T14:36:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-30T20:54:40.000Z (4 months ago)
- Last Synced: 2024-10-14T11:08:58.516Z (3 months ago)
- Topics: cqrs, ddd, event-sourcing
- Language: Rust
- Homepage:
- Size: 537 KB
- Stars: 371
- Watchers: 12
- Forks: 40
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ccamel - serverlesstechnology/cqrs - A lightweight, opinionated CQRS and event sourcing framework. (Rust)
- awesome-rust - serverlesstechnology/cqrs - es](https://crates.io/crates/cqrs-es)] — A framework for CQRS and event sourcing with [user guide](https://doc.rust-cqrs.org/) (Libraries / Domain driven design)
- awesome-rust-cn - serverlesstechnology/cqrs - es](https://crates.io/crates/cqrs-es)] (库 Libraries / 领域驱动设计 Domain driven design)
- awesome-rust - serverlesstechnology/cqrs - es](https://crates.io/crates/cqrs-es)] - A framework for CQRS and event sourcing with [user guide](https://doc.rust-cqrs.org/) (Libraries / Domain driven design)
- fucking-awesome-rust - serverlesstechnology/cqrs - es](crates.io/crates/cqrs-es)] - A framework for CQRS and event sourcing with 🌎 [user guide](doc.rust-cqrs.org/) (Libraries / Domain driven design)
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](https://martinfowler.com/tags/domain%20driven%20design.html)
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](https://martinfowler.com/bliki/DDD_Aggregate.html).
- Ability to create views that more accurately model our business environment.
- A horizontally scalable read path.Things that could be helpful:
- [User guide](https://doc.rust-cqrs.org) along with an introduction to CQRS and event sourcing.
- [Demo application](https://github.com/serverlesstechnology/cqrs-demo) using the axum http server.
- [Change log](https://github.com/serverlesstechnology/cqrs/blob/main/docs/versions/change_log.md)Three backing data stores are supported:
- [PostgreSQL](https://www.postgresql.org/) - [postgres-es](https://crates.io/crates/postgres-es)
- [MySQL](https://www.mysql.com/) - [mysql-es](https://crates.io/crates/mysql-es)
- [DynamoDb](https://aws.amazon.com/dynamodb/) - [dynamo-es](https://crates.io/crates/dynamo-es)[![Crates.io](https://img.shields.io/crates/v/cqrs-es)](https://crates.io/crates/cqrs-es)
[![docs](https://img.shields.io/badge/API-docs-blue.svg)](https://docs.rs/cqrs-es)
![CodeBuild](https://codebuild.us-west-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoia3ZYcXozMjVZaFhoTldlUmhHemlWVm9LUjVaTC9LN3dSTFZpMkVTTmRycElkcGhJT3g2TUdtajZyRWZMd01xNktvUkNwLzdZYW15bzJkZldQMjJWZ1dNPSIsIml2UGFyYW1ldGVyU3BlYyI6InFORDNyaFFEQUNFQkE1NlUiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=main)