---
title: Hono · Cloudflare Workers docs
description: Create a Hono application and deploy it to Cloudflare Workers with Workers Assets.
lastUpdated: 2025-04-28T14:34:23.000Z
source_url:
  html: https://3fb19f37.preview.developers.cloudflare.com/workers/frameworks/framework-guides/hono/index.md
  md: https://3fb19f37.preview.developers.cloudflare.com/workers/frameworks/framework-guides/hono/
---

**Start from CLI** - scaffold a full-stack app with a Hono API, React SPA and the [Cloudflare Vite plugin](https://developers.cloudflare.com/workers/vite-plugin/) for lightning-fast development.

* npm

  ```sh
  npm create cloudflare@latest -- my-hono-app --template=cloudflare/templates/vite-react-template
  ```

* pnpm

  ```sh
  pnpm create cloudflare@latest my-hono-app --template=cloudflare/templates/vite-react-template
  ```

* yarn

  ```sh
  yarn create cloudflare my-hono-app --template=cloudflare/templates/vite-react-template
  ```

***

**Or just deploy** - create a full-stack app using Hono, React and Vite, with CI/CD and previews all set up for you.

[![Deploy to Workers](https://deploy.workers.cloudflare.com/button)](https://dash.cloudflare.com/?to=/:account/workers-and-pages/create/deploy-to-workers\&repository=https://github.com/cloudflare/templates/tree/staging/vite-react-template)

## What is Hono?

[Hono](https://hono.dev/) is an ultra-fast, lightweight framework for building web applications, and works fantastically with Cloudflare Workers. With Workers Assets, you can easily combine a Hono API running on Workers with a SPA to create a full-stack app.

## Creating a full-stack Hono app with a React SPA

1. **Create a new project with the create-cloudflare CLI (C3)**

   * npm

     ```sh
     npm create cloudflare@latest -- my-hono-app --template=cloudflare/templates/vite-react-template
     ```

   * pnpm

     ```sh
     pnpm create cloudflare@latest my-hono-app --template=cloudflare/templates/vite-react-template
     ```

   * yarn

     ```sh
     yarn create cloudflare my-hono-app --template=cloudflare/templates/vite-react-template
     ```

2. **Develop locally with the [Cloudflare Vite plugin](https://developers.cloudflare.com/workers/vite-plugin/)**

   After creating your project, run the following command in your project directory to start a local development server.

   * npm

     ```sh
     npm run dev
     ```

   * pnpm

     ```sh
     pnpm run dev
     ```

   * yarn

     ```sh
     yarn run dev
     ```

3. **Deploy your project**

   Your project can be deployed to a `*.workers.dev` subdomain or a [Custom Domain](https://developers.cloudflare.com/workers/configuration/routing/custom-domains/), from your own machine or from any CI/CD system, including Cloudflare's own [Workers Builds](https://developers.cloudflare.com/workers/ci-cd/builds/).

   The following command will build and deploy your project. If you are using CI, ensure you update your ["deploy command"](https://developers.cloudflare.com/workers/ci-cd/builds/configuration/#build-settings) configuration appropriately.

   * npm

     ```sh
     npm run deploy
     ```

   * pnpm

     ```sh
     pnpm run deploy
     ```

   * yarn

     ```sh
     yarn run deploy
     ```

***

## Bindings

The [Hono documentation](https://hono.dev/docs/getting-started/cloudflare-workers#bindings) provides information on how you can access bindings in your Hono app.

With bindings, your application can be fully integrated with the Cloudflare Developer Platform, giving you access to compute, storage, AI and more.

[Bindings ](https://developers.cloudflare.com/workers/runtime-apis/bindings/)Access to compute, storage, AI and more.
