https://github.com/slashdotdash/commanded_aggregate_race
https://github.com/slashdotdash/commanded_aggregate_race
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/slashdotdash/commanded_aggregate_race
- Owner: slashdotdash
- Created: 2019-05-16T14:18:55.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T14:19:21.000Z (about 7 years ago)
- Last Synced: 2025-06-22T07:43:58.504Z (12 months ago)
- Language: Elixir
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CommandAggregateRace
**TODO: Add description**
## Installation
```
$ docker-compose up -d && mix do deps.get, event_store.create, event_store.init && iex -S mix run
Erlang/OTP 21 [erts-10.3.4] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]
15:55:37.481 [debug] Attempting to start Postgrex
15:55:37.528 [debug] Successfully started Postgrex (#PID<0.230.0>)
15:55:37.575 [debug] Attempting to start Postgrex.Notifications
15:55:37.591 [debug] Successfully started Postgrex.Notifications (#PID<0.240.0>)
15:55:37.591 [debug] Attempting to start Postgrex
15:55:37.591 [debug] Successfully started Postgrex (#PID<0.242.0>)
Interactive Elixir (1.8.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> %CreateAccount{account_id: "1"} |> ExampleRouter.dispatch
iex(2)> %DeleteAccount{account_id: "1"} |> ExampleRouter.dispatch
```