Repository is archived
No commit activity in last 3 years
No release in over 3 years
An opinionated CLI tool for building event-sourced Ruby services with EventSourcery
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.12
~> 11.2
~> 3.6

Runtime

~> 0.19
~> 2.1
 Project Readme

EventSourcery Generators

An opinionated CLI tool for building event sourced systems with EventSourcery.

Getting started

Generate a new event sourcery application:

$ eventsourcery new recipe_book

Generate a new aggregate, command and event:

$ eventsourcery generate:command recipe add

Generate a query and projection that subscribes to events:

$ eventsourcery generate:query active_recipes recipe_added

Generate a reactor that subscribes to events:

$ eventsourcery generate:reactor recipe_publisher recipe_added recipe_deleted

References

For more information, check out the event_sourcery repository here: https://github.com/envato/event_sourcery