Functional Event Sourcing

To run this exercise you'll need

  • a code editor (VS code is recommendanded for F# tooling)
  • .net core sdk 3.1

Using docker

If you have docker and VS code installed, install the ms-vscode-remote.remote-containers extension. Then use Shift+Ctrl+P to launch the Remote-Containers: Open folder in Container... command and select this folder. It will start a mcr.microsoft.com/dotnet/core/sdk:3.1 container and launch VS code remote editor in it with the ionide F# editor extension installed.

Using a terminal you can compile and run the code as indicated in Program.fs

Directly on your machine

Make sure netcore 3.1 sdk is installed: https://dotnet.microsoft.com/download

Install ionide-fsharp extension in VS Code.

Exercise

The exercise takes place in Progam.fs, follow the steps in top down order.