# Voice Demo UI - Local Environment Variables # # This file contains environment-specific configuration for local development. # DO NOT commit this file to version control. # ============================================================================== # REQUIRED: Backend API Configuration # ============================================================================== # API base URL for the slide-system backend (Motia API) # Development: http://localhost:3003 (slide-system must be running locally) # Production: https://slide-system-production-5813.up.railway.app VITE_API_BASE_URL=https://slide-system-production-5813.up.railway.app # ============================================================================== # REQUIRED: LiveKit Cloud Configuration # ============================================================================== # LiveKit WebSocket URL for real-time communication # Get from: https://cloud.livekit.io/projects//settings # Format: wss://buzztrail-.livekit.cloud # NOTE: API keys/secrets stay on backend, frontend only needs WSS URL VITE_LIVEKIT_URL=wss://buzztrail-fifa4bj6.livekit.cloud # ============================================================================== # IMPORTANT NOTES # ============================================================================== # # 1. voice-demo-ui runs on PORT 3006 (configured in vite.config.ts) # Access at: http://localhost:3006 # # 2. NO sensitive credentials are stored here: # - LiveKit API keys/secrets → slide-system backend only # - Supabase credentials → slide-system backend only # - OpenAI, Deepgram, ElevenLabs → voice-agent backend only # # 3. Dependencies for local frontend development: # - Backend runs on Railway (production deployment) # - Voice Agent & Screenshare Bot run on Railway # - LiveKit Cloud account configured # - Backend handles ALL authentication, API calls, and bot management # # 4. To start local frontend: # pnpm nx dev voice-demo-ui # Visit: http://localhost:3006 # Frontend connects to Railway backend automatically