Building a CQRS/ES web application in Elixir using Phoenix
10consulting.com
10consulting.com
It uses two open-source Elixir libraries I've authored to provide the building blocks for such applications:
* EventStore: A CQRS event store that uses PostgreSQL (v9.5 or later) as the underlying storage engine. [1]
* Commanded: Provides support for command registration and dispatch; hosting and delegation to aggregate roots; event handling; and long running process managers. [2]
It's an unorthodox approach to building Phoenix web apps. The article details why you might consider applying it.