How mongaagam/zoomclone works
Zoom is a video-conferencing application: users sign in, create or join a meeting, communicate in a live call, and can review meeting activity. The frontend routes users through landing, authentication, home, history, and meeting screens; an Express API handles account and activity requests, while Socket.IO relays meeting events. MongoDB persists users and meeting history. Some page implementations and the meeting event wiring are only partially excerpted, so uncertain connections are omitted or marked dashed.
Main entry points: App.js Route shell · AuthContext.jsx Auth and activity client · app.js HTTP server setup · home.jsx Meeting home
Components 17
Web client
- Route shell
frontend/src/App.js - Landing page
frontend/src/pages/landing.jsx - Sign-in and registration
frontend/src/pages/authentication.jsx - Auth and activity client
frontend/src/contexts/AuthContext.jsx - Meeting home
frontend/src/pages/home.jsx - Authentication guard
frontend/src/utils/withAuth.jsx - Activity history
frontend/src/pages/history.jsx - Meeting experience
frontend/src/pages/VideoMeet.jsx - Backend address
frontend/src/environment.js
Account and activity API
- User API routes
backend/src/routes/users.routes.js - Account and history handlers
backend/src/controllers/user.controller.js - HTTP server setup
backend/src/app.js
Live meetings
- Meeting event relay
backend/src/controllers/socketManager.js
Persistence
- User records
backend/src/models/user.model.js - Meeting records
backend/src/models/meeting.model.js
Other components
- Participant
- MongoDB
Connections 23
- Participant → Route shell: uses
frontend/src/App.js - Route shell → Landing page: routes to
frontend/src/App.js - Route shell → Sign-in and registration: routes to
frontend/src/App.js - Route shell → Meeting home: routes to
frontend/src/App.js - Route shell → Activity history: routes to
frontend/src/App.js - Route shell → Meeting experience: routes to
frontend/src/App.js - Route shell → Auth and activity client: provides
frontend/src/App.js - Sign-in and registration → Auth and activity client: uses
frontend/src/pages/authentication.jsx - Meeting home → Auth and activity client: fetches activity
frontend/src/pages/home.jsx - Meeting home → Authentication guard: uses
frontend/src/pages/home.jsx - Activity history → Auth and activity client: uses
frontend/src/pages/history.jsx - Meeting experience → Auth and activity client: records activity
frontend/src/pages/VideoMeet.jsx - Auth and activity client → Backend address: reads address
frontend/src/contexts/AuthContext.jsx - Auth and activity client → User API routes: requests API
frontend/src/contexts/AuthContext.jsx - HTTP server setup → User API routes: mounts routes
backend/src/app.js - User API routes → Account and history handlers: dispatches
backend/src/routes/users.routes.js - Account and history handlers → User records: reads and writes
backend/src/controllers/user.controller.js - Account and history handlers → Meeting records: reads and writes
backend/src/controllers/user.controller.js - HTTP server setup → Meeting event relay: starts relay
backend/src/app.js - Meeting experience → Meeting event relay: exchanges meeting events
- HTTP server setup → MongoDB: connects
backend/src/app.js - User records → MongoDB: persists records
- Meeting records → MongoDB: persists records