Digital Queue Display System built with:
- Svelte 5
- SvelteKit
- Tailwind CSS v4
- Socket.io client (optional backend connection)
npm install
npm run devOpen:
http://localhost:5173/displayhttp://localhost:5173/operatorhttp://localhost:5173/adminhttp://localhost:5173/queue/take
- Operator (per loket):
op-loket-1 / queue123 / PIN 1001op-loket-2 / queue123 / PIN 1002op-loket-3 / queue123 / PIN 1003op-loket-4 / queue123 / PIN 1004op-loket-5 / queue123 / PIN 1005op-loket-6 / queue123 / PIN 1006
- Admin:
admin / admin123
Optional secure operator route:
http://localhost:5173/operator/loket-3(locks login flow to loket 3)
By default, real-time updates work via browser BroadcastChannel (cross-tab).
If you have a backend websocket/socket.io server, set:
PUBLIC_SOCKET_URL=http://localhost:8081
PUBLIC_SOCKET_NAMESPACE=/queue
PUBLIC_SOCKET_BRANCH=mainThe display will show reconnecting status and retry every 3 seconds when disconnected.
For the paired queue-socket service in this workspace, run the Go server on :8081.