--- title: QueueCure Backend emoji: ๐Ÿฅ colorFrom: blue colorTo: green sdk: docker pinned: false --- # QueueCure Backend Real-time clinic queue management backend โ€” **[Full documentation on GitHub](https://github.com/Mohit-tiwary2610/queuecure)** ## Required Secrets (Settings โ†’ Repository secrets) | Name | Value | |------|-------| | `FRONTEND_URL` | Your Netlify frontend URL | | `ANTHROPIC_API_KEY` | Anthropic API key *(optional โ€” chatbot works without it)* | ## Socket Events `add_patient` ยท `call_next` ยท `skip_patient` ยท `remove_patient` ยท `update_avg_time` ยท `toggle_clinic` ยท `reset_queue` ยท `complete_current` ยท `add_announcement` ## REST Endpoints `GET /health` ยท `GET /api/state` ยท `GET /api/analytics` ยท `GET /api/lookup?q=` ยท `POST /api/chat`