What problem does it solve?
This Skill provides a comprehensive guide and boilerplate for developing efficient and scalable APIs using the Hono framework on Cloudflare Workers, including setup, routing, middleware, and client integration.
Core Features & Use Cases
- API Server Setup: Demonstrates Hono server configuration, including base paths, logging, and session/locale middleware.
- Route Management: Illustrates organizing routes by domain and using route groups for clarity.
- Middleware Integration: Shows how to implement authentication, session management, and localization.
- API Client Generation: Explains how to create a type-safe API client using Hono RPC and React Query for seamless frontend integration.
- Validation & Error Handling: Covers input validation with Zod and robust error handling with
HTTPException.
- OpenAPI Documentation: Details automatic OpenAPI spec generation and interactive API docs with Scalar.
Quick Start
Use the seeksaas-api skill to generate a new API route for user authentication.