A web application written in Go to organize table tennis tournaments.
Run:
go run ./cmd/devdb
This will start a PostgreSQL container and update your .envrc
configuration.
Then, in another shell (make sure you have direnv
installed so that it can load environment variables from .envrc
):
go run ./cmd/pingpong
Or, if you want live reload:
air
Run:
go build -o ./bin/pingpong ./cmd/pingpong
chmod +x ./bin/pingpong
and deploy ./bin/pingpong
.
go generate ./internal/database