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
There are 4 projections
This contains the domain and the command side framework
This project contains all the functionality required for writing and producing projections
Small console application that will randomly generate a number of events against the encounter
Small console application that will attempt to admit, transfer and discharge a patient