Skip to main content

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:

Health endpoints:

  • GET http://localhost:8080/health
  • GET http://localhost:8080/readyz

Run tests

go test ./...

If you want a quick end-to-end sanity check against a running instance:

Run the docs site

cd docs
npm start