examples/chat-room-vercel/README.md
Note: This is the Vercel-optimized version of the chat-room example. It uses the
hono/verceladapter and is configured for Vercel deployment.
Example project demonstrating real-time messaging and actor state management.
git clone https://github.com/rivet-dev/rivet.git
cd rivet/examples/chat-room
npm install
npm run dev
The chat room demonstrates core Rivet Actor patterns for real-time communication:
src/backend/registry.ts): Defines the chatRoom actor with message history state and actions for sending messages and retrieving historyRead more about actions, state, and events.
MIT