Cookbook
Patterns, recipes, and learning paths from the RustAPI Architecture Cookbook.
RustAPI Architecture Cookbook
Keynotes, patterns, recipes and learning paths, maintained in the framework repo and published at tuntii.github.io/RustAPI/cookbook.
Read onlineGetting Started
Core Concepts
Crate Deep Dives
Recipes
- CRUD ResourcesCreate, read, update, delete patterns
- JWT AuthenticationProtected routes and tokens
- Database IntegrationSQLx and persistence
- WebSocketsReal-time chat and live data
- Error HandlingCentralized ApiError mapping
- DeploymentShip binaries to production
- RustAPI CloudManaged hosting on rustapi.cloud
- MCP IntegrationAgent tools from your API
- AI / TOONLLM-friendly response format
- ObservabilityTracing, metrics, structured logs
Deploy your first Rust API.
Create an account, run one command, get an HTTPS URL. Free on the Hobby plan.