examples/chat-room/README.md
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