What problem does it solve?
Provide secure server-side endpoints for Expo Router and EAS Hosting to keep API keys and other secrets off the client, perform protected database operations, proxy third-party APIs, validate input, receive webhooks, and offload heavy computation from mobile devices.
Core Features & Use Cases
- Server-side secrets — Safely use environment variables for API keys and credentials without exposing them to the client.
- HTTP method handlers & dynamic routes — Implement GET, POST, PUT, DELETE and parameterized routes for RESTful endpoints.
- Proxying & webhooks — Hide third-party API keys when calling external services and receive webhook callbacks securely.
- Runtime-aware deployment — Guidance for deploying to EAS Hosting on Cloudflare Workers with considerations for limited Node APIs, timeouts, and available Web APIs.
- Developer workflows — Local testing, CORS configuration for web clients, error handling patterns, and recommended database options for edge environments.
Quick Start
Start the development server and call the /api/hello endpoint to verify API route behavior and environment variable handling.