A real-time web-based virtual queue management system built to eliminate physical ticket dispensers and congested waiting lines. Q-Up allows customers to join a virtual queue by scanning a QR code on their smartphone and track their position live, while merchants manage queue flow through an administrative dashboard.
Recognition: Silver Medal, Pertandingan Inovasi Antara Asasi Malaysia (PITRAM) 2026.
Q-Up decouples the customer-facing interface from the merchant administration portal while maintaining real-time, bidirectional state synchronization across devices using WebSockets:
-
Customer Flow:
- The customer scans a static QR code displayed at the merchant counter or entrance.
- A virtual ticket is generated with a unique queue number and timestamp.
- The web interface displays live queue status, number of parties ahead, and estimated wait times.
- When called by the merchant, the device triggers an audio/visual notification.
-
Merchant Flow:
- The merchant logs into the administrative portal to control the queue.
- Provides real-time buttons to call the next customer, recall, mark as served, or cancel tickets.
- Controls are broadcasted immediately to all connected customer devices via WebSockets.
- Framework: React.js (v18)
- Routing: React Router DOM (v6)
- Real-Time Communication: Socket.IO Client
- HTTP Client: Axios
- Styling: Custom CSS3 (Flexbox, Grid, CSS Keyframe Animations)
- Utilities:
qrcodefor QR code rendering
- Runtime: Node.js
- API Framework: Express.js
- WebSocket Engine: Socket.IO Server
- Database ODM: Mongoose
- Push Notifications: Web Push (VAPID protocol)
- Primary Database: MongoDB Atlas (cloud document store)
q-up-app/
├── client/ # React frontend client & admin application
│ ├── public/ # Static assets and HTML template
│ ├── src/
│ │ ├── components/ # Reusable UI components (Navbar, QueueCard, etc.)
│ │ ├── pages/ # Customer ticket view, admin dashboard, display board
│ │ ├── App.js # Main application routing
│ │ └── index.js # React DOM entry point
│ └── package.json
│
├── server/ # Node.js Express & WebSocket backend
│ ├── controllers/ # Queue, ticket, and merchant request logic
│ ├── models/ # Mongoose schemas (Queue, Ticket, Merchant)
│ ├── routes/ # Express REST API endpoints
│ ├── utils/ # Socket.IO event handlers and push helpers
│ ├── server.js # Server entry point and HTTP/WebSocket listener
│ └── package.json
│
└── README.md
- Node.js (v16.x or higher)
- npm
- MongoDB Atlas account or local MongoDB instance
-
Navigate to the server directory:
cd server -
Install backend dependencies:
npm install
-
Create a
.envfile in theserverdirectory with the following variables:PORT=5000 MONGO_URI=your_mongodb_connection_string VAPID_PUBLIC_KEY=your_vapid_public_key VAPID_PRIVATE_KEY=your_vapid_private_key
-
Start the backend development server:
npm start
The backend server runs at
http://localhost:5000.
-
Open a new terminal and navigate to the client directory:
cd client -
Install frontend dependencies:
npm install
-
Start the React development server:
npm start
The client application opens automatically at
http://localhost:3000.
- Client Application: https://q-up-client.onrender.com