Configuration Guide
This guide covers all configuration options for Dialogue, including event definitions, room configurations, and server settings.
Overview
Dialogue uses a config-first approach where all rooms and events are defined upfront. This enables type safety, validation, and predictable behavior across your application.
Topics
- Event Definitions - Define events with schema validation using Zod
- Room Configuration - Configure rooms, capacity limits, and default subscriptions
- Dialogue Configuration - Main server configuration, CORS, and options
- Lifecycle Hooks - Client, room, socket, and event lifecycle hooks
- Authentication - Client authentication and JWT setup
- TypeScript Types - Type definitions and interfaces