Sha256: 1775bba38695e8512c63f7b236fda653940e1895ffb310ae5e6f265f8046ec3d

Contents?: true

Size: 748 Bytes

Versions: 1

Compression:

Stored size: 748 Bytes

Contents

# <%= project_class_name %>

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)

## Get started

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

```sh
$ ./script/setup
```

## Using the Application

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

```sh
$ foreman start
```

## Adding features

Generate a new aggregate, command and event:

```sh
$ eventsourcery generate:command recipe add
```

Generate a query and projection that subscribes to events:

```sh
$ eventsourcery generate:query active_recipes recipe_added
```

Generate a reactor that subscribes to events:

```sh
$ eventsourcery generate:reactor recipe_publisher recipe_added recipe_deleted
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
event_sourcery_generators-0.2.0 lib/event_sourcery_generators/generators/templates/project/readme.md.tt