Back to Rivet

Hono + React

examples/hono-react-vercel/README.md

2.2.11.4 KB
Original Source

Note: This is the Vercel-optimized version of the hono-react example. It uses the hono/vercel adapter and is configured for Vercel deployment.

Hono + React

Example demonstrating full-stack Hono backend with React frontend integration.

Getting Started

sh
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/hono-react
npm install
npm run dev

Features

  • Full-stack Hono: Hono web framework for HTTP routing and serving React frontend
  • React integration: Complete frontend-backend integration with type-safe APIs
  • Actor backend: Rivet Actors handle business logic and state management
  • Single codebase: Frontend and backend in one project with shared types

Implementation

This example demonstrates full-stack development with Hono and React:

Resources

Read more about actions, state, and setup.

License

MIT