API Tests
These API routes are handled by the Worker thanks to run_worker_first configuration.
Results:
Click a button to test the API...
✅ What This Demonstrates
- Static Assets: This HTML is served from
public/
- API Routes:
/api/* routes are handled by Worker first
- SPA Fallback: Unknown routes return this index.html
- Hono Framework: Type-safe routing with JSON responses
- ES Module Format: Correct export pattern prevents build errors