TL;DR: Run the following to have docker-compose also start up the Go webserver.
docker compose --profile backend up --buildAfter any changes you'll have to restart the docker-compose.
mise can be used to get the local development tools.
If you don't use mise, check the mise.toml file for the required tool versions and environment variables.
- Generate sqlc bindings (needs to be rerun any time
sql/query.sqlis updated):sqlc generate
- Download deps
go mod download
- Run the postgres server
docker compose up --build
- Run the webserver in a separate terminal
cd server go run .
There's vibed mock-data in scripts/mock.sql.
By executing scripts/mock.sh it will wipe all tables and insert the mock data.