Minimal Gin REST starter that mirrors a NestJS-style layer split (handler/service/repository) and keeps config/env first.
# install deps
go mod tidy
# dev server
make run
# build static binary
make build
# format / tidy / test
make fmt
make tidy
make test
# sync ABIs from S3 (requires AWS env)
make sync-abicmd/api/main.go– app entrypkg/config– env config loadinginternal/server– Gin engine + middleware + route wiringinternal/handler– HTTP handlers (controllers)pkg/logger– zap logger helper
Default endpoints:
GET /api/healthGET /api/ready