Examples
Code Examples
Learn by example with real-world use cases and sample code.
Starter
Hello World
Basic setup and your first API call.
Edge
Edge Function
Deploy a function to the global edge network.
Storage
KV Store
Global key-value storage with low latency reads.
API
REST API
Build a REST API with automatic scaling.
Real-time
WebSocket Chat
Real-time messaging with WebSocket support.
Queue
Background Jobs
Process tasks asynchronously with message queues.
Auth
JWT Authentication
Secure your API with JWT token validation.
Full Stack
Next.js App
Full-stack application with Next.js and Quar.tz.