Practice group discussions anytime. Speak, get transcribed live, and receive an AI-driven report on how you performed.
π Live Demo: Deployed Link | π₯ Demo Video: coming soon..
- The Problem
- Our Solution
- Key Features
- How It Works
- Benefits
- Tech Stack
- Architecture
- Data Model
- Socket Events & API
- Folder Structure
- Getting Started
- Deployment
- Challenges & Learnings
- Roadmap
- Team
- Group discussions are a major placement filter, yet students rarely get realistic practice.
- Feedback is subjective, delayed, or missing; colleges lack the manpower to evaluate every student.
- Students cannot see their own patterns: how much they speak, how often they interrupt, how clear they are.
GD-APP is a virtual placement-training companion. Users join a live room, speak through their microphone, and get a real-time transcript plus an automatic communication analysis with charts and targeted feedback.
- Real-time group rooms β join with a room code, see participants live
- Microphone capture β browser audio / WebRTC
- Live speech-to-text β powered by AssemblyAI
- Automatic analysis report β speaking time, participation rate, clarity
- Contribution charts β pie chart of who contributed how much
- Personalised feedback β targeted tips from your performance
- Room dashboard β session overview for hosts / institutions
1. Create or join a room β 2. Speak via mic β 3. Audio streamed for STT
β 4. Transcript + speaking stats per user β 5. Analysis report + charts
β 6. Personalised feedback to improve next round
| Audience | Value |
|---|---|
| Students | Practice anytime, instant feedback, accurate transcripts, clear improvement metrics |
| Colleges / Institutions | Run GD sessions online, automated analytics, no manual evaluation |
| Developers | Modular architecture, scalable backend, clean React frontend, easy deploy (Netlify + Render/Vercel) |
| Layer | Technologies |
|---|---|
| Frontend | React.js (Vite), Socket.io-client, charting for contribution pie |
| Backend | Node.js, Express.js, Socket.io |
| Database | MongoDB (Mongoose) |
| AI / STT | AssemblyAI |
| Media | WebRTC / Browser Audio Capture |
| Deploy | Netlify (client), Render / Vercel (server) |
ββββββββββββββββββββββββββββ
β React Client (Vite) β
β JoinRoom Β· Room Β· Reportβ
β Mic capture Β· Charts β
βββββββββββ¬βββββββββββββββββ
β Socket.io (events) + REST
βΌ
ββββββββββββββββββββββββββββ ββββββββββββββββ
β Express + Socket.io βββββββββΆβ AssemblyAI β
β roomController β audio β (STT) β
β roomSocket / analysis ββββββββββ transcript β
βββββββββββ¬βββββββββββββββββ ββββββββββββββββ
βΌ
βββββββββββββββ
β MongoDB β (Room: users, transcripts, stats)
βββββββββββββββ
Room {
roomId, createdAt,
participants: [{ socketId, name, joinedAt }],
transcripts: [{ speaker, text, timestamp }],
stats: [{ speaker, speakingTime, wordCount, turns }]
}
Adjust to match your
Room.jsschema.
Replace with the actual event names used in
roomSocket.jsandsocketHandler.js.
| Type | Name | Purpose |
|---|---|---|
| Socket | join-room |
User enters a room |
| Socket | user-list |
Broadcast updated participants |
| Socket | transcript |
Push new transcribed text to the room |
| Socket | leave-room |
Clean up on exit |
| REST | POST /api/rooms |
Create a room |
| REST | GET /api/rooms/:id |
Fetch room details |
| REST | POST /api/analysis/:id |
Generate analysis report |
Backend (/server)
server/
βββ controllers/
β βββ roomController.js
βββ models/
β βββ Room.js
βββ routes/
β βββ analysisRoutes.js
β βββ roomRoutes.js
βββ services/
βββ socket/
β βββ roomSocket.js
βββ uploads/
βββ utils/
β βββ dbConnect.js
βββ socketHandler.js
βββ index.js
βββ package.json
βββ .env
Frontend (/client)
client/
βββ public/
βββ src/
β βββ assets/
β βββ components/
β β βββ AnalysisReport.jsx
β β βββ ContributionPie.jsx
β β βββ Controls.jsx
β β βββ HomePage.jsx
β β βββ JoinRoom.jsx
β β βββ UserList.jsx
β β βββ VideoTile.jsx
β βββ pages/
β β βββ Room.jsx
β β βββ RoomDashboard.jsx
β βββ utils/
β β βββ socket.js
β βββ App.jsx
β βββ main.jsx
β βββ index.css
βββ package.json
βββ .env
Prerequisites: Node.js v18+, MongoDB (Atlas or local), AssemblyAI API key.
git clone https://github.com/yourusername/GD-APP.git
cd GD-APPcd server
npm installCreate server/.env:
MONGO_URI=your_mongo_url
ASSEMBLYAI_API_KEY=your_key
PORT=5000npm startcd client
npm installCreate client/.env:
VITE_BACKEND_URL=http://localhost:5000npm run dev| Problem | Fix |
|---|---|
| Mic not working | Browsers need HTTPS (or localhost) and microphone permission |
| No transcript | Verify ASSEMBLYAI_API_KEY and check server logs for API errors |
| Socket not connecting | Confirm VITE_BACKEND_URL and the CORS origin on the server |
| Mongo error | Whitelist your IP in Atlas / check MONGO_URI |
| Users can't hear each other | Test with two different browsers or devices; check STUN/TURN settings |
- Client: Netlify. Set
VITE_BACKEND_URLto the deployed server URL. - Server: Render or Vercel. Set
MONGO_URI,ASSEMBLYAI_API_KEY,PORT. - Note: WebSockets need a host that supports persistent connections (Render does; Vercel serverless generally does not), so prefer Render for the Socket.io server.
- Allow the deployed client origin in the server's CORS and Socket.io config.
- Audio and transcripts are personal data: show a consent notice before recording.
- Keep API keys server-side only; never expose
ASSEMBLYAI_API_KEYto the client. - Clear
uploads/and set a retention period for transcripts. - Add rate limiting on room creation and validate room IDs.
- Real-time sync: keeping participant lists and transcripts consistent across clients with Socket.io rooms.
- Latency vs accuracy: streaming STT gives live feedback; final transcripts are cleaner. Showing partial results then replacing them with finals gives the best experience.
- Speaker attribution: since each user speaks from their own mic, per-user streams make speaker labels reliable without diarization.
- Fair metrics: speaking time alone can reward talking over others, so combine it with turns, word count, and interruptions.
- Filler-word detection ("um", "like") and pace (words per minute)
- Sentiment and relevance scoring against the GD topic
- Random GD topic generator and timers
- AI moderator / AI participants for solo practice
- Interruption and turn-taking analytics
- Downloadable PDF report and progress history per user
- Authentication and institution dashboards
- Mock HR / technical interview mode
- Multilingual support
Objective, repeatable GD practice for every student, and zero-effort evaluation for institutions.
| Name | Role | Links |
|---|---|---|
| Prem Sharma | Full-stack developer | GitHub Β· LinkedIn |
β If you like this project, star the repo!