Local Development
Prereqs
- Go 1.22+
- Node 20+ (for docs site)
Run the gateway
go run ./cmd/apigw init --path gateway.yaml
go run ./cmd/apigw run --config gateway.yaml
Deep dive:
- Guide: Run the gateway
- Reference: Config, Environment variables
- Code: CLI, Runtime
Health endpoints:
GET http://localhost:8080/healthGET http://localhost:8080/readyz
Run tests
go test ./...
If you want a quick end-to-end sanity check against a running instance:
- Tooling: Smoke script
Run the docs site
cd docs
npm start