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. RavenDB can be installed as a windows service. Event Store needs to be manually run from the console application with the command
.\EventStore.ClusterNode.exe
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