AniketTalan/queueless ? reverse-engineered prompt

Reverse engineered prompt

Build me a backend for a digital queue system for walk in businesses like clinics, salons, and service centers.

I want businesses to be able to register, get a one time API key, then create services, queues, and multiple counters for each queue. Customers should be able to scan a QR code, join a queue without installing anything, get a token, check their live status, see their position and estimated wait, and cancel if needed. Staff should be able to manage the queue from protected API routes, call the next customer, put a token on hold, resume it, mark it complete, mark no show, and cancel it.

The queue should work fairly in FIFO order, keep token numbers atomic with no gaps, and handle multiple requests at once safely. Also keep a history of queue events and calculate ETA from past service times, with a fallback average if there is no history yet.

Use the existing README as the source of truth, and if you need to check anything current, look up the docs online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab