How vanshgargji/zoom-clone works
Zoom Clone is a browser-based conferencing product. Users schedule or start meetings, share an invitation, join through a pre-join flow, then participate in a live room with peer-to-peer media and backend-coordinated presence, chat, reactions, and host controls. The FastAPI backend also manages meeting lifecycle, validation, dashboard data, and SQLite persistence. README documents the product-level connections; source excerpts establish selected backend routing and lifecycle calls. Unsampled frontend and realtime internals are represented at subsystem level where their exact wiring is not shown.
Main entry points: meetings.py Meeting routes · ws.py WebSocket endpoint · api.ts HTTP client · main.py FastAPI application
Components 22
Browser experience
- Dashboard
frontend/src/app/meetings/page.tsx - Scheduling
frontend/src/components/schedule/ScheduleForm.tsx - Join flow
frontend/src/components/join/JoinForm.tsx - Meeting room
frontend/src/components/meeting/MeetingRoom.tsx - Browser media
frontend/src/hooks/usePeerConnections.ts - HTTP client
frontend/src/lib/api.ts
API and meetings
- FastAPI application
backend/app/main.py - Meeting routes
backend/app/routers/meetings.py - Meeting management
backend/app/services/meetings.py - Meeting lifecycle
backend/app/services/lifecycle.py - Dashboard data
backend/app/services/dashboard.py - Request schemas
backend/app/schemas/meeting.py
Live collaboration
- WebSocket endpoint
backend/app/realtime/ws.py - Realtime actions
backend/app/realtime/actions.py - Host controls
backend/app/realtime/host_actions.py - Chat and reactions
backend/app/realtime/reactions.py - Connection state
backend/app/realtime/connection_manager.py
Persistence
- Meeting records
backend/app/models/meeting.py - Session records
backend/app/models/meeting_session.py - Participant records
backend/app/models/participant.py - SQLite database
Other components
- Meeting user
Connections 27
- Meeting user → Dashboard: opens
README.md - Meeting user → Scheduling: schedules
README.md - Meeting user → Join flow: joins
README.md - Meeting user → Meeting room: attends
README.md - Dashboard → HTTP client: requests data
- Scheduling → HTTP client: submits meeting
- Join flow → HTTP client: requests admission
- Meeting room → Browser media: uses WebRTC
- Meeting room → WebSocket endpoint: signals presence
README.md - Browser media → Browser media: exchanges peer media
README.md - HTTP client → Meeting routes: calls REST API
README.md - FastAPI application → Meeting routes: mounts
backend/app/main.py - FastAPI application → WebSocket endpoint: mounts
backend/app/main.py - Meeting routes → Meeting management: delegates
backend/app/routers/meetings.py - Meeting routes → Meeting lifecycle: starts or joins
backend/app/routers/meetings.py - Meeting routes → Dashboard data: fetches lists
backend/app/routers/meetings.py - Meeting routes → Request schemas: validates input
backend/app/routers/meetings.py - Meeting lifecycle → Session records: creates sessions
backend/app/services/lifecycle.py - Meeting lifecycle → Participant records: creates participants
backend/app/services/lifecycle.py - Meeting management → Meeting records: manages meetings
backend/app/services/meetings.py - WebSocket endpoint → Realtime actions: dispatches actions
backend/app/realtime/ws.py - WebSocket endpoint → Host controls: dispatches host actions
backend/app/realtime/ws.py - WebSocket endpoint → Chat and reactions: dispatches reactions
backend/app/realtime/ws.py - WebSocket endpoint → Connection state: tracks connections
backend/app/realtime/ws.py - Connection state → Participant records: tracks presence
backend/app/realtime/connection_manager.py - FastAPI application → SQLite database: persists records
README.md - Meeting records → SQLite database: stored in
README.md