Local development
Prerequisites
Section titled “Prerequisites”- Go toolchain (see
go.mod) - Code generation tools:
sqlc(v1.30.0+)templ
# Install sqlc (for database code generation)
# Install templ (for template code generation)go install github.com/a-h/templ/cmd/templ@latestQuick start
Section titled “Quick start”# Install dependenciesgo mod download
# Generate code (sqlc + templ)make generate
# Run database migrationsexport DATABASE_URL=./database.dbmake migrate-up
# Build and run the servermake build-server./bin/serverVerify
Section titled “Verify”curl http://localhost:8080/healthcurl http://localhost:8080/ready