Mirror of Github Repo. https://github.com/flockingbird/roost
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bèr Kessels 32c9c91098 Add env template 1 year ago
.github/workflows Add super linter workflow 1 year ago
app Use Better Errors to give more context in failures of http requests 1 year ago
config Setup to be able to run the first test 1 year ago
test Use Better Errors to give more context in failures of http requests 1 year ago
.env.template Add env template 1 year ago
.gitignore Add dotenv and use env vars to lod and connect to database 1 year ago
.rubocop.yml Introduce rubocop 1 year ago
.ruby-version Bootstrap with event_sourcery_cli 1 year ago
Gemfile Ensure all is in place to run the initial test 1 year ago
Gemfile.lock Ensure all is in place to run the initial test 1 year ago
LICENSE Initial commit 1 year ago
Makefile Run with shotgun 1 year ago
Procfile Bootstrap with event_sourcery_cli 1 year ago
README.md Bootstrap with event_sourcery_cli 1 year ago
Rakefile Setup to be able to run the first test 1 year ago
app.json Bootstrap with event_sourcery_cli 1 year ago
config.ru Introduce rubocop 1 year ago

README.md

Roost

Deploy

Get started

Ensure you have Postgres and Ruby 2.3 or higher installed, then run the setup script:

$ ./script/setup

Using the Application

Start the web server and processors (reactors and projectors):

$ foreman start

Adding features

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