How manthankhawse/interview-platform works
Main Components Structure
A. Client Layer (Frontend)
• User Interface Components (Login, Signup, Homepage, MainPage)
• Real-time Components (AudioVideoScreen, CodeEditor, Notepad)
• State Management (Context API - DataProvider)
B. Communication Layer
• Socket.io Connection
• PeerJS WebRTC Connection
C. Server Layer (Backend)
• Authentication Controllers
• Route Handlers
• WebSocket Event Handlers
D. Database Layer
• MongoDB container at the bottom
Detailed Component Breakdown
Frontend Section:
[Frontend Container]
• User Authentication
• Login Component
• Signup Component
• Interview Interface
• Audio/Video Stream
• Code Editor
• Notepad
• State Management
• Context API
Communication Layer:
[Real-time Communication]
• Socket.io Events
• PeerJS WebRTC
Backend Section:
[Backend Container]
• Auth Routes
• WebSocket Handlers
• Database Operations
Technical Details
Labels for:
• Technologies: React, Node.js, Express, MongoDB
• Protocols: WebSocket, WebRTC, HTTP/HTTPS
• Key libraries: Socket.io, PeerJS
• Authentication flow with JWT