Skip to content

Repository files navigation

Smart Queue System (CareQueue)

Walk-in customer care ticket & live queue system built with Next.js.

Customers take a ticket by category (no registration). A ticket PDF prints automatically. Support managers call the next ticket and mark it done. Admin manages managers, categories, and full dashboard stats.

Repository: github.com/imranbru99/smart-queue-system


Features

  • Homepage / kiosk ticket pickup (no customer account)
  • Auto ticket PDF print, then return to home
  • Live queue board with NEXT ticket
  • Admin & Manager roles
  • Dashboard counts: today, yesterday, last week, this month, last month, all history
  • Category & manager CRUD (admin)

Routes

Area Route Who
Home (get ticket + PDF print) / Public
Kiosk tab /kiosk Dedicated tablet
Live queue board /queue Public / TV
Staff login /login Admin & Manager
Dashboard /dashboard Admin & Manager
Serve queue /dashboard/serve Call next / complete
History /dashboard/history Period filters
Categories /dashboard/categories Admin
Managers /dashboard/managers Admin

Queue flow

  1. Customer opens home or /kiosk → picks category → gets code like B-001
  2. PDF print dialog opens → after print, screen returns home
  3. Number appears on /queue under Waiting (first = NEXT)
  4. Manager opens Serve queueCall next → Serving
  5. Complete / Approve → Done → next ticket is ready
  6. Dashboard shows period totals and history

Roles

  • Admin — dashboard, categories, managers
  • Manager — serve queue, stats, history
  • Customer — take ticket only (no login)

Setup

npm install
npx prisma migrate dev
npm run db:seed
npm run dev

Open http://localhost:3000.

Demo accounts

Role Email Password
Admin admin@queue.local admin123
Manager manager@queue.local manager123

Stack

  • Next.js (App Router) + TypeScript + Tailwind CSS
  • Prisma + SQLite
  • JWT session (jose + bcryptjs)
  • Ticket PDF print (jspdf)

Author & contact

Imran Dev — Smart Queue System

Platform Link
Portfolio imrandev.bd
LinkedIn linkedin.com/in/imranbru99
GitHub github.com/imranbru99
X / Twitter @imrandev_bd
YouTube @ImranDevBD
Instagram @imranbru99
Facebook ExpertImranDev
TikTok @imrandev_bd
Threads @imranbru99
Pinterest @imrandev_bd
WhatsApp +880 1576-918420
Email me@imrandev.bd
All Links linktr.ee/ExpertImranDev

About

Smart Queue System is a registration-free customer service queue built with Next.js. Customers grab a ticket without signing up, support managers approve and call tickets from a live dashboard, and a public display screen updates instantly over WebSockets no polling, no manual refresh.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages