SmartQ is a unified, multi-tenant virtual queue management ecosystem designed to reduce physical waiting times across hospitals, clinics, banks, and government offices.
- 📱 Remote Queue Joining: Users can select services and join queues remotely from anywhere.
- 🤖 AI Wait-Time Prediction: Real-time waiting time estimation powered by machine learning algorithms considering historic service times, active counters, and arrival rates.
- 📍 Live Position Tracking: Real-time queue position updates via WebSockets and Firebase Cloud Messaging (FCM).
- 🧑💼 Staff Dashboard: Web interface for institution staff to call, serve, verify, and manage incoming tokens.
- 📊 Admin & MIS Console: Management analytics for footfall prediction, staffing recommendations, peak hour analysis, and operational insights.
- 💬 AI Assistant Integration: Context-aware chatbot supporting queue discovery, status checking, and automated booking support.
SMARTQ ECOSYSTEM
│
┌────────────────┼────────────────┐
│ │ │
MOBILE APP (Flutter) STAFF WEB (React) ADMIN WEB (React)
│ │ │
└────────────────┼────────────────┘
│
FASTAPI BACKEND
│
┌──────────┴──────────┐
│ │
Queue Engine AI / RAG / Chatbot
(Redis) (scikit-learn & LangGraph)
│ │
└──────────┬──────────┘
│
PostgreSQL + pgvector
- Primary Deep Blue:
#123B66 - Secondary Teal:
#159A9C - Light Accent:
#E8F4FA - Background:
#F8FAFC - Dark Text:
#0F2742
- Docker & Docker Compose
- Node.js 18+ (for Web frontend)
- Python 3.11+ (for Backend & AI services)
- Flutter SDK 3.x (for Mobile app)
-
Copy
.env.exampleto.env:cp .env.example .env
-
Start Infrastructure & Backend Services:
docker-compose up -d
-
Run Backend Migrations:
make migrate
-
Launch Web Dashboard:
cd web && npm install && npm run dev
-
Launch Mobile App:
cd mobile && flutter run
mobile/: Flutter mobile client app for end-users.web/: React + Vite application for Staff & Admin dashboards.backend/: FastAPI core service managing queues, state machine, and REST/WS APIs.ai/: Scikit-learn prediction model & LangGraph AI agents.chatbot/: Multi-channel conversational AI service.docs/: Comprehensive architecture, design, and API specs.infra/: Docker, AWS, and deployment configurations.