MediQueue
Appointment and queue system for clinics.
One system for a clinic’s doctors, schedules and patient bookings. Patients book online, reminder records are created with each booking, and the front desk runs the day from a single queue screen.

Target production stack
Features
Doctor schedules with per-doctor slot lengths.
Online booking without a patient account; the phone number identifies the patient.
Database transaction and a unique index prevent an active slot from being booked twice.
Two WhatsApp reminder records per booking: one for the day before and one for two hours before.
Front-desk queue board with check-in, walk-ins, completion, no-show and cancellation actions.
Daily appointments displayed in time order.
How it works
Choose a slot
A patient selects a doctor and an available time. The booking transaction and database constraint protect the slot from a duplicate booking.
Record reminders
The booking creates two reminder rows that are visible in the outbox for review.
Run the queue
The front desk checks patients in, adds walk-ins and updates each appointment as the day progresses.
Key decisions
Phone number is the patient identity, so booking does not require a password or account.
Reminder rows are stored with the appointment, creating an auditable outbox.
A database transaction and unique index provide the final protection against duplicate active slots.
Demo scope
This build uses FastAPI and SQLite. WhatsApp reminders are recorded in the outbox but are not sent; a background delivery worker is not included.
