Use Commanded to build your own Elixir applications following the CQRS/ES pattern.
Provides support for:
- Command registration and dispatch.
- Hosting and delegation to aggregate roots.
- Event handling.
- Long running process managers.
Use with one of the following event stores for persistence:
- EventStore Elixir library, using PostgreSQL for persistence
- Greg Young's Event Store.
MIT License
- Getting started
- Choosing an event store
- Using Commanded
- Used in production?
- Example application
- Limitations
- Event store provider
- Contributing
- Need help?
Yes, Commanded is being used in production.
Conduit is an open source, example Phoenix 1.3 web application implementing the CQRS/ES pattern in Elixir. It was built to demonstrate the implementation of Commanded in an Elixir application for the Building Conduit book.
Commanded is currently limited to running on a single node. Support for running on a cluster of nodes (#39) is under active development.
Pull requests to contribute new or improved features, and extend documentation are most welcome.
Please follow the existing coding conventions, or refer to the Elixir style guide.
You should include unit tests to cover any changes. Run mix test
to execute the test suite.
Please open an issue if you encounter a problem, or need assistance. You can also seek help in the Gitter chat room for Commanded.
For commercial support, and consultancy, please contact Ben Smith.