A full-stack real-time application enabling interactive polls and chat between teachers and students. Built with React, Express.js, and Socket.IO, the system allows teachers to create polls, students to answer in real-time, and both roles to engage via live chat.
π Live Demo: Visit Site
Create and launch polls instantly
View live poll results in real time
Ask new questions only when the previous poll is completed
Configure poll duration (default 60 seconds)
Remove students from the session
Join with a unique name per browser tab
Submit answers when a poll is active
View results immediately after submission or timeout
Participate in real-time chat with the teacher and other students
Instant two-way messaging
Role-based display of messages (Teacher / Student)
No page refresh required
π Run Locally 1οΈβ£ Clone the Project
git clone https://github.com/Maharajan07/live-polling-system
cd live-polling-system2οΈβ£ Install Dependencies
# Client
cd client
npm install
# Server
cd ../server
npm install3οΈβ£ Build Client for Production
cd client
npm run build4οΈβ£ Serve Build from Server
Ensure the build output (dist folder) is referenced inside the serverβs index.js for production serving.5οΈβ£ Start the Server
cd server
npm startFrontend: React (Vite), Tailwind CSS
Backend: Node.js, Express.js, Socket.IO
Real-Time Communication: WebSockets (Socket.IO)
Deployment: Render