Build Type-Safe APIs with Hono and OpenAPI
A production-ready starter template that combines Hono’s blazing-fast performance with full OpenAPI documentation, automatic type safety, and interactive API exploration.
Everything you need to build production APIs
This starter template includes best practices, modern tooling, and complete type safety from database to API response.
Type-Safe Routes
Auto Documentation
Database Integration
Built-in Validation
Structured Logging
Testing Setup
Quick start
Get up and running in minutes with this production-ready template
Start the development server
http://localhost:3000View available endpoints
View available endpoints
- GET /doc - OpenAPI specification (JSON)
- GET /reference - Interactive Scalar API documentation
- GET /tasks - List all tasks
- POST /tasks - Create a new task
- GET /tasks/:id - Get a task by ID
- PATCH /tasks/:id - Update a task
- DELETE /tasks/:id - Delete a task
Explore by topic
Learn more about the core concepts and features
Architecture overview
Learn how the project is structured and how all the pieces fit together
Creating routes
Build type-safe API routes with automatic OpenAPI documentation
Database integration
Use Drizzle ORM for type-safe database operations and schema management
Testing your API
Write comprehensive tests for your routes and handlers with Vitest
Ready to build your API?
Start building production-ready, type-safe APIs with automatic documentation and modern best practices.
Get Started Now