Skip to content

About

🎫 Real-time digital queue management platform to streamline customer ticketing and flow.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

πŸ₯ Smart Queue Management System (SQMS)

A production-ready, full-stack web application that digitizes queue management with real-time tracking, online booking, QR tokens, and live dashboards.

Django PostgreSQL Redis Bootstrap

Built specifically for Hospitals and Government Offices in Sri Lanka πŸ‡±πŸ‡°


πŸŽ₯ Cinematic Product Demo

Check out the fully automated, 60FPS cinematic showcase of the Smart Queue Management System in action! It demonstrates the entire end-to-end flow from patient booking to staff queue management.

πŸ“₯ Download & Watch the Cinematic Demo Video (MP4) Here


πŸš€ Tech Stack

Layer Technology
Backend Python 3.13+, Django 5+, Django REST Framework
Database PostgreSQL
Real-time Django Channels, WebSockets, Redis
Frontend HTML5, CSS3, Bootstrap 5, JavaScript, AJAX
Auth JWT (SimpleJWT), Role-Based Access Control
Reports ReportLab (PDF), openpyxl (Excel), Chart.js
Other QR Code generation, Email & WebSocket notifications

πŸ“‹ Features

πŸ‘€ User (Patient/Client) Features

  • βœ… Secure Access: Register, Login, Forgot Password, Edit Profile
  • βœ… Online Booking: Book Queue Online & View Current Position
  • βœ… Live Tracking: Real-time Wait Time Tracking via WebSockets
  • βœ… Digital Tokens: QR Code Token Generation & PDF Download
  • βœ… Notifications: Automated Email & WebSocket alerts
  • βœ… History: Submit Feedback & View Queue History

πŸ‘¨β€πŸ’Ό Staff Features

  • βœ… Queue Control: Call Next, Skip, Hold, or Complete Tokens
  • βœ… Dashboard: Real-time Staff Dashboard & Queue Processing
  • βœ… Management: Search Queue & View Today's Queue roster
  • βœ… Analytics: Live Queue Statistics

πŸ›‘οΈ Admin Features

  • βœ… System Control: Manage Users, Staff, Branches, and Services
  • βœ… Analytics: Advanced Dashboard with Chart.js visual analytics
  • βœ… Exporting: Generate detailed Reports (PDF / Excel)
  • βœ… Settings: Feedback Management & System Settings

πŸ› οΈ Setup & Installation

Prerequisites

  • Python 3.13+
  • PostgreSQL 14+
  • Redis 7+ (Required for WebSockets)
  • Git

Installation Steps

# 1. Clone the repository
git clone https://github.com/mt-abdulla-it/smart-queue-management-system.git
cd smart-queue-management-system

# 2. Create virtual environment
python -m venv venv
venv\Scripts\activate  # Windows
# source venv/bin/activate  # Linux/Mac

# 3. Install dependencies
pip install -r requirements.txt

# 4. Configure environment
cp .env.example .env
# Edit .env with your database and Redis credentials

# 5. Create PostgreSQL database
# psql -U postgres
# CREATE DATABASE smart_queue_db;

# 6. Run migrations
python manage.py makemigrations
python manage.py migrate

# 7. Create superuser
python manage.py createsuperuser

# 8. Collect static files
python manage.py collectstatic --noinput

# 9. Run development server (ASGI server for WebSockets)
python manage.py runserver

Access the Application

  • Homepage: http://localhost:8000
  • Admin Panel: http://localhost:8000/admin/
  • API Docs: http://localhost:8000/api/docs/

πŸ“ Project Structure

smart-queue-management-system/
β”œβ”€β”€ config/                     # Project configuration & settings (base/dev/prod)
β”œβ”€β”€ apps/                       # Django applications
β”‚   β”œβ”€β”€ accounts/               # User authentication & profiles
β”‚   β”œβ”€β”€ branches/               # Branches, departments, services
β”‚   β”œβ”€β”€ queues/                 # Queue token management & real-time tracking
β”‚   β”œβ”€β”€ notifications/          # Email/SMS & WebSocket notifications
β”‚   β”œβ”€β”€ feedback/               # User feedback
β”‚   β”œβ”€β”€ reports/                # PDF/Excel reports
β”‚   β”œβ”€β”€ dashboard/              # Admin & staff dashboards
β”‚   β”œβ”€β”€ api/                    # REST API (versioned)
β”‚   └── core/                   # Shared utilities
β”œβ”€β”€ templates/                  # Global HTML templates
β”œβ”€β”€ static/                     # Static files (CSS, JS, images)
β”œβ”€β”€ media/                      # User uploads
└── docs/                       # Documentation

πŸ‘€ Author

Abdulla Thaslim
GitHub Email LinkedIn


Solving real-world queue problems in Sri Lanka πŸ‡±πŸ‡°

About

🎫 Real-time digital queue management platform to streamline customer ticketing and flow.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages