Skip to content

Latest commit

Β 

History

15 Commits

Folders and files

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

Repository files navigation

Live Polling & Chat System


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


✨ Features

πŸŽ“ Teacher Panel

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

πŸ§‘β€πŸŽ“ Student Panel

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

πŸ’¬ Real-Time Chat

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-system

2️⃣ Install Dependencies

# Client
cd client
npm install

# Server
cd ../server
npm install

3️⃣ Build Client for Production

cd client
npm run build

4️⃣ 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 start

πŸ›  Tech Stack

Frontend: React (Vite), Tailwind CSS

Backend: Node.js, Express.js, Socket.IO

Real-Time Communication: WebSockets (Socket.IO)

Deployment: Render


Made by Maharajan!

About

Real-time live polling and chat application for classrooms, enabling teachers to create polls, students to answer instantly, and both roles to interact via chat. Built with React, Express.js, and Socket.IO.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages