How dhruv-panchal145/live-desk-frontend works
Live Desk is a React frontend for account access, joining video meetings, and reviewing meeting history. Users enter through the landing page, authenticate, then join a meeting from Home; the meeting view handles media and peer signaling, while meeting activity is recorded and later fetched for History. The excerpts show the route structure, authentication/activity requests, and parts of the meeting signaling and media behavior. VideoMeet is partial, so its omitted details are not expanded here.
Main entry points: App.js Route app · AuthContext.jsx Auth provider · VideoMeet.jsx Meeting room · Home.jsx Meeting home
Components 13
App navigation
- Route app
src/App.js - Landing page
src/pages/LandingPage.jsx - Meeting home
src/pages/Home.jsx
Accounts and activity
- Sign-in form
src/pages/Authentication.jsx - Auth provider
src/contexts/AuthContext.jsx - Auth guard
src/utils/withAuth.jsx - Meeting history
src/pages/history.jsx
Live meetings
- Meeting room
src/pages/VideoMeet.jsx - Server config
src/environment.js
Other components
- Visitor
- Backend API
- Browser media
- Socket signaling
Connections 19
- Visitor → Landing page: opens
src/pages/LandingPage.jsx - Landing page → Sign-in form: links to
src/pages/LandingPage.jsx - Route app → Landing page: routes to
src/App.js - Route app → Sign-in form: routes to
src/App.js - Route app → Meeting home: routes to
src/App.js - Route app → Meeting history: routes to
src/App.js - Route app → Meeting room: routes to
src/App.js - Route app → Auth provider: wraps routes
src/App.js - Sign-in form → Auth provider: calls auth
src/pages/Authentication.jsx - Auth provider → Backend API: sends auth requests
src/contexts/AuthContext.jsx - Meeting home → Auth guard: wrapped by
src/pages/Home.jsx - Auth guard → Sign-in form: redirects unauthenticated
src/utils/withAuth.jsx - Meeting home → Auth provider: records meeting
src/pages/Home.jsx - Meeting home → Meeting room: navigates to room
src/pages/Home.jsx - Meeting history → Auth provider: requests history
src/pages/history.jsx - Auth provider → Backend API: requests activity
src/contexts/AuthContext.jsx - Meeting room → Browser media: requests streams
src/pages/VideoMeet.jsx - Meeting room → Server config: imports server setting
src/pages/VideoMeet.jsx - Meeting room → Socket signaling: emits signals
src/pages/VideoMeet.jsx