| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 6 个月前 | ||
| 9 个月前 | ||
| 20 天前 | ||
| 8 个月前 | ||
| 8 个月前 |
Elysia Integration
Example project demonstrating Elysia web framework integration.
Getting Started
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/elysia
npm install
npm run dev
Features
- Elysia web framework: Use Elysia for HTTP routing and request handling with actors
- High-performance routing: Built on Bun for fast request processing
- Type-safe endpoints: Full TypeScript type safety across HTTP and actor layers
- Actor integration: Call actor actions from Elysia route handlers
Implementation
This example demonstrates integrating Elysia web framework with Rivet Actors:
- Actor Definition (
src/backend/registry.ts): Shows how to use Elysia router with actors for HTTP endpoints
Resources
Read more about actions and setup.
License
MIT