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.
Included Recipes
Section titled “Included Recipes”| Recipe | Complexity | Description |
|---|---|---|
| Public Read API with Cache + Resilience | ⭐ Beginner | Cached public API with circuit breaker fallback |
| Webhook Firewall | Intermediate | Signature verification + payload validation |
| Shadow Traffic for Safe Releases | Intermediate | Mirror production traffic to test deployments |
| Browser Rendering to Markdown | Advanced | Render any URL to markdown using Puppeteer |
How to use these
Section titled “How to use these”- Start with a recipe route in isolation.
- Validate behavior with a test harness and staging traffic.
- Promote shared pieces into your own custom policies.