Skip to content

nishant25kr/Real-time-Quiz-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฏ Real-time Quiz Application An interactive, real-time quiz platform built with JavaScript that enables seamless live quizzing experiences for educators, trainers, and trivia enthusiasts. โœจ Overview This application delivers a dynamic quiz experience where hosts can create and manage quizzes while participants engage in real-time competition. Built with modern web technologies, it ensures instant synchronization across all connected clients. Key Capabilities:

Host Control Panel โ€“ Create questions, manage quiz flow, and monitor participant activity Live Participation โ€“ Join sessions instantly and compete with real-time answer submission Instant Synchronization โ€“ WebSocket-powered communication ensures zero-lag updates Performance Tracking โ€“ Live leaderboards and comprehensive results analytics

๐Ÿ“ Project Structure Real-time-Quiz-application/ โ”œโ”€โ”€ backend/ # Server-side logic (Node.js, Express, WebSockets) โ”œโ”€โ”€ frontend/ # Client interface (HTML/CSS/JavaScript) โ”œโ”€โ”€ package.json # Project dependencies and scripts โ”œโ”€โ”€ README.md # Documentation โ””โ”€โ”€ .gitignore # Excluded files configuration

๐ŸŽฎ Features

โšก Real-time Communication โ€“ Instant question delivery and answer synchronization via WebSockets ๐Ÿ‘ฅ Multi-user Support โ€“ Handle multiple concurrent quiz sessions with unlimited participants ๐ŸŽ›๏ธ Admin Dashboard โ€“ Comprehensive host controls for quiz management and moderation ๐Ÿ† Live Leaderboards โ€“ Dynamic ranking updates as participants submit answers ๐Ÿ“Š Results Analytics โ€“ Detailed performance metrics and answer breakdowns ๐Ÿ“ฑ Responsive Design โ€“ Seamless experience across desktop, tablet, and mobile devices

๐Ÿ› ๏ธ Technology Stack

JavaScript (ES6+) โ€“ Core application logic Node.js & Express โ€“ Backend server framework Socket.IO โ€“ Real-time bidirectional event-based communication HTML5/CSS3 โ€“ Modern, responsive user interface WebSockets โ€“ Low-latency data transmission

๐Ÿš€ Getting Started Prerequisites Ensure you have the following installed:

Node.js (v14.0 or higher) โ€“ Download here npm (v6.0+) or Yarn (v1.22+) Modern web browser (Chrome, Firefox, Safari, Edge)

Installation

  1. Clone the repository bashgit clone https://github.com/nishant25kr/Real-time-Quiz-application.git cd Real-time-Quiz-application
  2. Install backend dependencies bashcd backend npm install
  3. Install frontend dependencies (if using separate frontend setup) bashcd ../frontend npm install

โ–ถ๏ธ Running the Application Start the Backend Server bashcd backend npm start

Server will be available at http://localhost:5000

Launch the Frontend (if separate) bashcd frontend npm start

Access the application at http://localhost:3000

๐Ÿ“– How to Use For Quiz Hosts

Start the backend server Navigate to the host dashboard Create a new quiz or select an existing one Add questions with multiple-choice answers Share the session code with participants Launch the quiz and monitor responses in real-time

For Participants

Open the quiz application in your browser Enter the session code provided by the host Submit your name to join Answer questions as they appear View your score and ranking on the leaderboard

๐Ÿค Contributing Contributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. How to Contribute

Fork the repository Create your feature branch (git checkout -b feature/AmazingFeature) Commit your changes (git commit -m 'Add some AmazingFeature') Push to the branch (git push origin feature/AmazingFeature) Open a Pull Request

Ways to Help

โญ Star this repository to show your support ๐Ÿ› Report bugs by opening an issue ๐Ÿ’ก Suggest features you'd like to see ๐Ÿ› ๏ธ Submit pull requests with improvements or fixes ๐Ÿ“ Improve documentation for better clarity

๐Ÿ“„ License This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ‘ค Author Nishant Kumar GitHub: @nishant25kr

๐Ÿ™ Acknowledgments

Thanks to all contributors who have helped improve this project Built with passion for interactive learning experiences Inspired by modern real-time web applications

If you find this project useful, please consider giving it a โญ!

About

A real-time quiz application built with JavaScript, Node.js, and Socket.IO. Create interactive quizzes with live participant engagement and instant leaderboards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages