Skip to content
premmsharma122Public

About

GD-Verse is an AI-powered, real-time Group Discussion (GD) and placement simulator. It bridges the gap between practice and evaluation by transforming a standard peer-to-peer video conferencing application into an automated behavioral evaluation engine.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ™οΈ GD-APP β€” AI-Powered Group Discussion & Placement Simulator

Practice group discussions anytime. Speak, get transcribed live, and receive an AI-driven report on how you performed.

Stack Realtime STT Status

πŸ”— Live Demo: Deployed Link | πŸŽ₯ Demo Video: coming soon..


πŸ“Œ Table of Contents

  1. The Problem
  2. Our Solution
  3. Key Features
  4. How It Works
  5. Benefits
  6. Tech Stack
  7. Architecture
  8. Data Model
  9. Socket Events & API
  10. Folder Structure
  11. Getting Started
  12. Deployment
  13. Challenges & Learnings
  14. Roadmap
  15. Team

🚨 The Problem

  • 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.

πŸ’‘ Our Solution

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.


✨ Key Features

  • 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

πŸ”„ How It Works

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

🌟 Benefits

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)

🧰 Tech Stack

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)

πŸ— Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  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)
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ—„ Data Model

Room {
  roomId, createdAt,
  participants: [{ socketId, name, joinedAt }],
  transcripts:  [{ speaker, text, timestamp }],
  stats:        [{ speaker, speakingTime, wordCount, turns }]
}

Adjust to match your Room.js schema.


πŸ“‘ Socket Events & API

Replace with the actual event names used in roomSocket.js and socketHandler.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

πŸ“ Folder Structure

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

πŸš€ Getting Started

Prerequisites: Node.js v18+, MongoDB (Atlas or local), AssemblyAI API key.

1. Clone

git clone https://github.com/yourusername/GD-APP.git
cd GD-APP

2. Backend

cd server
npm install

Create server/.env:

MONGO_URI=your_mongo_url
ASSEMBLYAI_API_KEY=your_key
PORT=5000
npm start

3. Frontend

cd client
npm install

Create client/.env:

VITE_BACKEND_URL=http://localhost:5000
npm run dev

Troubleshooting

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

☁️ Deployment

  • Client: Netlify. Set VITE_BACKEND_URL to 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.

πŸ”’ Privacy & Security Notes

  • Audio and transcripts are personal data: show a consent notice before recording.
  • Keep API keys server-side only; never expose ASSEMBLYAI_API_KEY to the client.
  • Clear uploads/ and set a retention period for transcripts.
  • Add rate limiting on room creation and validate room IDs.

🧠 Challenges & Learnings

  • 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.

πŸ—Ί Roadmap

  • 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

🌍 Impact

Objective, repeatable GD practice for every student, and zero-effort evaluation for institutions.


πŸ‘₯ Team

Name Role Links
Prem Sharma Full-stack developer GitHub Β· LinkedIn

⭐ If you like this project, star the repo!

About

GD-Verse is an AI-powered, real-time Group Discussion (GD) and placement simulator. It bridges the gap between practice and evaluation by transforming a standard peer-to-peer video conferencing application into an automated behavioral evaluation engine.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages