Docs Event Sourcing PoC Event Sourcing PoC Sandbox

Event Sourcing PoC Sandbox

Environment variables

The following environment variable is expected to be set:

Running locally

Clone this repo. Note: static files (css/scss/js/img) are stored in the static dir, but built into the public dir.

When running for the first time, make sure pnpm is installed (e.g. using brew install pnpm or npm install -g pnpm) and run pnpm install.


pnpm run dev
ENV=dev go run main.go

This starts a web server locally on the port specified in the config.

Generating types / functions for GraphQL queries

Make sure that:

Then run:

go run write/genqlient.yaml
go run read/genqlient.yaml