QLine is a real-time clinic queue demo built with Kotlin, Jetpack Compose, Firebase Authentication, and Cloud Firestore.
- Open this project in Android Studio and sync Gradle (Android SDK 37 is required).
- Keep the existing
app/google-services.jsonin place; it must belong to the Firebase project you configure. - In Firebase Console, enable Email/Password and Anonymous sign-in under Authentication, and create a Firestore database.
- Run the
appconfiguration on an Android device or emulator. Sign in/create an account, or select Continue as demo. - Use the Customer and Staff tabs to take tickets and operate the demo queues.
The app seeds queues/clinicA, queues/clinicB, and queues/clinicC when missing. Queue state is stored in queues; ticket documents are stored in tickets. Staff controls are intentionally available to authenticated demo users; configure appropriate Firestore security rules and staff authorization before production use.