| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 4 个月前 | ||
| 6 个月前 | ||
| 9 个月前 | ||
| 8 个月前 | ||
| 13 天前 | ||
| 8 个月前 | ||
| 8 个月前 | ||
| 4 个月前 |
Hono + React
Example demonstrating full-stack Hono backend with React frontend integration.
Getting Started
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:
- Actor Definition (
src/backend/registry.ts): Shows full-stack integration with Hono backend and React frontend
Resources
Read more about actions, state, and setup.
License
MIT