Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
read-part
write-part
readme.md
run-demo.sh
stop-demo.sh

readme.md

Stock demo app

This app demonstrates basic components used by Jes.

To run:

  1. finish Getting started
  2. cd ./demo
  3. ./run-demo.sh

This script will run Postgres as an underlying provider for Event Store, then it will run 2 applications: write-part and read-part.

Write part contains some command handlers and simple Saga. It validates and reacts on user input.

Read part contains StockProjector and some UI components. It displays events in readable form in it's DB table.

Check that ports: 8080, 8081, 54320 are free.

Stock will be available at http://localhost:8080/stock

You can interact with it: add new items to stock, order some items from stock and so on.

Sample

You can’t perform that action at this time.