Skip to content

Recipes

Production-focused gateway patterns you can adapt directly.

Each recipe includes:

  • A concrete use case.
  • The policy/upstream composition.
  • Copy/paste starter code.
  • Notes about runtime setup and tradeoffs.
RecipeComplexityDescription
Public Read API with Cache + Resilience⭐ BeginnerCached public API with circuit breaker fallback
Webhook FirewallIntermediateSignature verification + payload validation
Shadow Traffic for Safe ReleasesIntermediateMirror production traffic to test deployments
Browser Rendering to MarkdownAdvancedRender any URL to markdown using Puppeteer
  • Start with a recipe route in isolation.
  • Validate behavior with a test harness and staging traffic.
  • Promote shared pieces into your own custom policies.