• Stars
    star
    119
  • Rank 296,759 (Top 6 %)
  • Language
    C#
  • Created almost 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple example of how to build an event sourced application

PatientMangement

This is very basic implementation of the CQRS and ES patterns that I used in my talk "Introduction to CQRS and ES". It is anything but feature complete but should hopefully give you an idea on how to get the started

To get it running you first need to install default installations of both

Both need to be running. You can use Docker to run databases using prepared Docker Compose configuration:

docker-compose up

Structure

There are 4 projections

PatientManagement

This contains the domain and the command side framework

ProjectionManager

This project contains all the functionality required for writing and producing projections

SeedGenerator

Small console application that will randomly generate a number of events against the encounter

TestConsole

Small console application that will attempt to admit, transfer and discharge a patient