In order to learn about sec in the following sections you will need a basic setup. Below are instructions to get you up and running.
First we need to get an EventStoreDB node loaded up. One easy way to do this is to use docker and start up a single node in in-secure mode as follows:
The above is enough to get something up and running for the purpose of exploration and learning. Consult the EventStoreDB docs for more details on configuration for production setup.
Create a new project with sec as dependency:
In order to verify that you can reach the database try out the following IOApp:
The methods used on
EsClient are explained in the subsequent sections.