Backend service for harmon-react.
/register
HTTP endpoint to generate login token/login
HTTP endpoint to exchange login token for session token/ws
WebSocket endpoint to send/receive JSON data for actions performed by users (authenticated with session token)
Nix users can just use nix develop
or use nix-direnv and direnv allow .
to automatically load the requirements when you enter the folder.
Otherwise, please manually install go 1.21.9.
To start the server, simply run
go run *.go
See harmon-deploy for examples.