Eclipse
Boilit
BoilitBoilitBeta
Boilerplates

Boilerplate

Next.js with Hono (as API package) and OpenAPI

A full-stack boilerplate combining Next.js App Router (frontend) with Hono (backend API), fully documented using OpenAPI and integrated with Scalar for interactive API documentation. The Hono application is encapsulated in a standalone api package, and seamlessly mounted into Next.js via the catch-all API route.

Features

  • Next.js App Router for modern frontend development.
  • Hono as the backend API framework for fast and lightweight routing.
  • OpenAPI integration for fully documented REST API.
  • Scalar for interactive and shareable API documentation.
  • Full CRUD example implemented entirely within the Hono API.
  • Packages/api encapsulating the entire Hono API as a standalone package.
  • Seamless integration with Next.js via app/api/[[...route]]/route.ts.
  • TypeScript support for type-safe development.
  • Monorepo structure for clean modular organization.

Use Case

Ideal for developers building API-first applications using Hono and Next.js with a clean separation between frontend and backend logic. The combination of OpenAPI and Scalar ensures complete, interactive, and self-documented APIs, making this boilerplate perfect for SaaS platforms, developer-facing APIs, and full-stack web applications. 🚀

Boilerplate details

  • Last update


    1 day ago
  • Boilerplate age


    1 day ago
Login to download