How api-tologists/elearning-mobile-app works
Project type and purpose
• This is a full-stack Android mobile application (“eLearning-Mobile-App”) written in Kotlin, using Jetpack Compose for the UI and Firebase for its backend (Auth, Firestore, Storage).
• It lets students sign up, browse and progress through courses, take quizzes, get certificates; it also lets instructors create and manage course content. It optionally integrates Google Generative AI (Gemini) to enhance content or recommendations.
File structure
• Top-level: app/ contains an Android Studio Gradle project.
• Under app/src/main/java/com/example/elearning/:
• ui/ (Compose components & screens)
• viewmodel/ (MVVM ViewModels)
• repository/ (data access abstractions)
• service/ (Firebase & AI SDK clients, notification & payment logic)
• local/ (Room database & DAO)
• model/ (data classes)
• navigation/ (NavGraph & screen definitions)
• util/ (PDF generation, network utilities)
• Standard Android resource directories and Gradle wrappers/config.
README
• Confirms Kotlin, Jetpack Compose, Firebase Auth & Firestore, Storage, and Google Generative AI SDK.
• Describes student and instructor use-cases, setup steps, and required configuration files (google-services.json, API key template).
Detail
• Call out authentication flow separately: AuthViewModel → Firebase Auth → obtain token → used by Firestore and Storage
• NotificationService subscribing to user actions and pushing to Firebase Cloud Messaging if relevant