An open API service indexing awesome lists of open source software.

https://github.com/slashdotdash/implementing-cqrs-in-elixir

An introduction to implementing Command Query Responsibility Segregation (CQRS) in Elixir applications.
https://github.com/slashdotdash/implementing-cqrs-in-elixir

cqrs event-sourcing

Last synced: about 1 year ago
JSON representation

An introduction to implementing Command Query Responsibility Segregation (CQRS) in Elixir applications.

Awesome Lists containing this project

README

          

# Implementing CQRS in Elixir

An introduction to implementing the Command Query Responsibility Segregation (CQRS) architecture in Elixir applications.

This guide will help you to build your own Elixir applications following CQRS/ES principles.

- Building *pure* functional, event-sourced domain models.
- Using [eventstore](https://github.com/slashdotdash/eventstore) to persist event streams to a PostgreSQL database.
- Command registration and dispatch; delegation to aggregate roots; event handling; and long running process managers using [commanded](https://github.com/slashdotdash/commanded).

The reader should be familiar with the [Elixir programming language](http://elixir-lang.org/) and the basic principles of [domain-driven design](https://en.wikipedia.org/wiki/Domain-driven_design).