A lightweight web application designed to simplify customer queue handling by assigning queue numbers and predicting service times.
This system was built during FOSS Hackathon 2025, a 36-hour national-level hackathon. The goal was to create a functional, minimal, and efficient queue management workflow suitable for small businesses, clinics, and service desks.
- Add customers with name and phone number
- Auto-generate sequential queue numbers
- Predict service time using fixed 8-minute intervals
- Display the full queue in real time
- Remove served customers and refresh wait times
- Clean UI designed for quick staff usage
-
Front-end : HTML, CSS, JavaScript
-
Back-end : PHP
-
Database : MySQL
-
Server : Apache (XAMPP/WAMP/MAMP)
Foss_Hackathon/
│
├── index.html
├── queue.php
├── style.css
├── script.js
└── README.md
Database Name: queue_management
Table Name: queue
CREATE TABLE `queue` (
`id` INT AUTO_INCREMENT PRIMARY KEY,
`name` VARCHAR(100) NOT NULL,
`phone` VARCHAR(15) NOT NULL,
`queue_number` INT NOT NULL,
`service_time` VARCHAR(25) NOT NULL
);
Note - These column names must match exactly for the application to work.
-
Install Local Server
Use XAMPP (recommended). Start: Apache and MySQL
-
Move Project Files
Place the project folder into: C:\xampp\htdocs
Example: C:\xampp\htdocs\queue-management-system -
Create the Database
Open: http://localhost/phpmyadmin Create database: queue_management Run the SQL schema provided above
-
Verify PHP Connection
In queue.php:
$servername = "localhost"; $username = "root"; $password = ""; $dbname = "queue_management";
-
Run the Application
- Dynamic wait-time prediction
- Login system for staff
- SMS/email notifications
- Analytics dashboard for queue insights
- Real-time updates with AJAX/WebSockets
- Modern responsive UI