Skip to content

lzakrzewski/es-sandbox

Repository files navigation

Event sourcing sandbox

Build Status

Es-sandbox is simple Symfony and CLI application which simulates online shopping. Model of this application was created with Event Sourcing architectural pattern (see Event Sourcing Basics). Es-sandbox was built also with Command–query separation principle (see CQRS). For handling a commands in simple way es-sandbox uses command_bus from SimpleBus.

Read more about es-sandbox domain model:

This sandbox has also the target to test the integration between given components:

Presentations of which I get inspired:

There is a separate lib for communication with EventStore via HTTP, for more info see:

Installation

There are two way-s to install es-sandbox:

  1. Installation with docker (recommended)
  2. Installation native

Usage

This application has CLI entry points:

  1. Simulate shopping (Recording and writing events to a Stream)
  2. Render projection (Renders projection of recorded events)

In case when you installed es-sandbox with Docker then before executing of CLI command you should connect to php running container:

make php

Examples

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages