Skip to content

Latest commit

 

History

History
 
 

06-GettingStateFromEvents.EventStoreDB

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Exercise 06 - Getting the current entity state from events using EventStoreDB

Having a defined structure of events and an entity representing the shopping cart from the first exercise, fill a GetShoppingCart function that will rebuild the current state from events.

If needed you can modify the events or entity structure.

There are two variations:

Select your preferred approach (or both) to solve this use case. If needed you can modify entities or events.

Prerequisites

Run docker-compose script from the main workshop repository to start EventStoreDB instance.

docker-compose up

After that you can use EventStoreDB UI to see how streams and events look like. It's available at: http://localhost:2113/.