GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Qarma-inspect/commanded: Use Commanded to build Elixir CQRS/ES applications

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

1,396 Commits
1,396 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bench/application
bench/application
 
 
config
config
 
 
guides
guides
 
 
lib
lib
 
 
test
test
 
 
.credo.exs
.credo.exs
 
 
.dialyzer_ignore.exs
.dialyzer_ignore.exs
 
 
.formatter.exs
.formatter.exs
 
 
.gitignore
.gitignore
 
 
BACKERS.md
BACKERS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mix.exs
mix.exs
 
 
mix.lock
mix.lock
 
 

Repository files navigation

Commanded

Use Commanded to build your own Elixir applications following the CQRS/ES pattern.

Provides support for:

  • Command registration and dispatch.
  • Hosting and delegation to aggregates.
  • Event handling.
  • Long running process managers.

Commanded provides a solid technical foundation for you to build on. It allows you to focus on modelling your domain, the most important part of your app, creating a better application at a faster pace.

You can use Commanded with one of the following event stores for persistence:

  • EventStore - Elixir library using Postgres for persistence.
  • In-memory event store - included for test use only.

Please refer to the CHANGELOG for features, bug fixes, and any upgrade advice included for each release.

Requires Erlang/OTP v21.0 and Elixir v1.11 or later.


Sponsors

  • View sponsors & backers

Alembic


  • Changelog
  • Wiki
  • What is CQRS/ES?
  • Frequently asked questions
  • Getting help
  • Latest published Hex package & documentation

MIT License

Build Status Join the chat at https://gitter.im/commanded/Lobby


This README and the following guides follow the main branch which may not be the currently published version.

Read the documentation for the latest published version of Commanded on Hex.

Overview

  • Getting started
  • Choosing an event store
  • Using Commanded
    • Aggregates
      • Example aggregate
      • Commanded.Aggregate.Multi
      • Aggregate state snapshots
    • Commands
      • Command handlers
      • Command dispatch and routing
        • Define aggregate identity
        • Multi-command registration
        • Dispatch timeouts
        • Dispatch consistency guarantee
        • Dispatch returning execution result
        • Aggregate lifespan
        • Composite command routers
      • Middleware
        • Example middleware
      • Composite command routers
    • Events
      • Domain events
      • Event handlers
        • Consistency guarantee
        • Error handling
      • Upcasting events
    • Process managers
      • Example process manager
    • Serialization
      • Default JSON serializer
      • Configuring JSON serialization
      • Decoding event structs
      • Using an alternative serialization format
      • Customising serialization
    • Read model projections
  • Deployment
    • Single node deployment
    • Multi node cluster deployment
    • Multi node, but not clustered deployment
  • Testing with Commanded
  • Used in production?
  • Example application
  • Learn Commanded in 20 minutes
  • Tooling
  • Contributing
  • Need help?

Used in production?

Yes, see the companies using Commanded.

Example application

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.

Learn Commanded in 20 minutes

Watch Bernardo Amorim introduce CQRS and event sourcing at Code Beam SF 2018. Including a tutorial on how to implement an Elixir application using these concepts with Commanded.

Contributing

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.

Contributors

Commanded exists thanks to the following people who have contributed.

  • Adil Yarulin
  • Alexandre de Souza
  • Andrey Akulov
  • Andrzej Sliwa
  • Ben Smith
  • Benjamin Moss
  • Bernardo Amorim
  • Brenton Annan
  • Chris Brodt
  • Chris Martin
  • Christophe Juniet
  • Danilo Silva
  • Dave Lucia
  • David Carlin
  • Damir Vandic
  • Danni Friedland
  • Dilaksun Bavarajan
  • Ernesto
  • Fernando Mendes
  • Florian Ebeling
  • Henry Hazan
  • JC
  • Joan Zapata
  • Joao Gilberto Moura
  • João Thallis
  • John Wilger
  • Joseph Lozano
  • Kian-Meng Ang
  • Kok J Sam
  • Leif Gensert
  • Luís Ferreira
  • Marcelo Dominguez
  • Matt Doughty
  • Matthew Boehlig
  • Michael Herold
  • Miguel Palhas
  • Nigel Thorne
  • Olafur Arason
  • Paolo Laurenti
  • Patrick Detlefsen
  • Phil Chen
  • Raphaël Lustin
  • Štefan Ľupták
  • Tobiasz Małecki
  • Vladimir Drobyshevskiy
  • Willy Wombat
  • Yordis Prieto
  • Yuri de Figueiredo
  • Zven

Need help?

Please open an issue if you encounter a problem, or need assistance. You can also seek help in the #commanded channel in the official Elixir Slack.

About

Use Commanded to build Elixir CQRS/ES applications

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.