1gor / event_sourcery_generators

An opinionated CLI tool for building event-sourced Ruby services with EventSourcery

Repository from Github https://github.com1gor/event_sourcery_generatorsRepository from Github https://github.com1gor/event_sourcery_generators

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

About

An opinionated CLI tool for building event-sourced Ruby services with EventSourcery

License:MIT License


Languages

Language:Ruby 94.4%Language:Shell 5.6%