
Quiz Quarters is a real-time multiplayer quiz web application that allows users to join quiz rooms, answer timed questions, view live leaderboards, and compete in a fast-paced environment. Built using React, Socket.IO, and Express, the app provides a seamless and dynamic quiz experience.
| Layer | Technology |
|---|---|
| Frontend | React.js, Tailwind CSS |
| Backend | Node.js, Express.js |
| Realtime | Socket.IO |
| Deployment | Vercel (Frontend), Render (Backend) |
cpp
CopyEdit
/client
├── Room.jsx // Main quiz room logic & UI
├── App.jsx // Router logic
└── index.css // Tailwind CSS configuration
/server
└── index.js // Express server & Socket.IO logic
/client)join-room, send-question, submit-answer, update-leaderboard, quiz-ended./server/index.js)GET /) to test server status.join-room: Adds user to room and broadcasts updated user list.send-question: Broadcasts a new question to the room.submit-answer: Checks correctness, updates score, and emits updated leaderboard.end-quiz: Notifies all users to end the quiz session.users, scores).