How apoorv077569/mysanjeevni works
MySanjeevni is an Android healthcare and medicine-services app. A user enters through the app and can authenticate, browse health products or services, and pursue distinct flows such as cart/order checkout, lab-test booking, doctor consultation, prescription upload, and support. The sampled sources confirm several repository-to-API calls and Firebase notification persistence; the README is empty, and UI/navigation wiring for most feature flows was not sampled, so those connections are left unasserted. The graph preserves major capabilities visible in the source tree without implying an unverified end-to-end sequence.
Main entry points: ApiService.kt Service API · MyFirebaseService.kt Push notifications · HomeScreen.kt Home discovery · AuthRepositoryImpl.kt Authentication
Components 24
App shell
- Android entry
app/src/main/java/com/mysanjeevni/mysanjeevni/app/MainActivity.kt - Feature navigation
app/src/main/java/com/mysanjeevni/mysanjeevni/app/navigation/NavGraph.kt - Home discovery
app/src/main/java/com/mysanjeevni/mysanjeevni/features/home/presentation/ui/HomeScreen.kt
Medicine commerce
- Product catalog
app/src/main/java/com/mysanjeevni/mysanjeevni/features/medicines/data/repository/MedicineRepositoryImpl.kt - Category browsing
app/src/main/java/com/mysanjeevni/mysanjeevni/features/category/data/repository/CategoryRepositoryImpl.kt - Shopping cart
app/src/main/java/com/mysanjeevni/mysanjeevni/features/cart/presentation/viewmodel/CartViewModel.kt - Local cart store
app/src/main/java/com/mysanjeevni/mysanjeevni/features/cart/data/local/dao/CartDao.kt - Order management
app/src/main/java/com/mysanjeevni/mysanjeevni/features/orders/data/repository/OrderRepositoryImpl.kt - Prescription upload
app/src/main/java/com/mysanjeevni/mysanjeevni/features/prescription/data/repository/PrescriptionRepositoryImpl.kt - Product reviews
app/src/main/java/com/mysanjeevni/mysanjeevni/features/review/data/repository/ReviewRepositoryImpl.kt
Care services
- Lab testing
app/src/main/java/com/mysanjeevni/mysanjeevni/features/labs/data/repository/LabsRepositoryImpl.kt - Doctor consultation
app/src/main/java/com/mysanjeevni/mysanjeevni/features/consult/data/repository/ConsultRepositoryImpl.kt - Video consultation
app/src/main/java/com/mysanjeevni/mysanjeevni/features/consult/data/agora/AgoraManager.kt - Customer support
app/src/main/java/com/mysanjeevni/mysanjeevni/features/support/chat/data/repository/ChatRepositoryImpl.kt
Identity and platform
- Sign-in and OTP
app/src/main/java/com/mysanjeevni/mysanjeevni/features/auth/presentation/ui/LoginScreen.kt - Authentication
app/src/main/java/com/mysanjeevni/mysanjeevni/features/auth/data/repository/AuthRepositoryImpl.kt - Auth API
app/src/main/java/com/mysanjeevni/mysanjeevni/data/remote/api/AuthApiService.kt - Session preferences
app/src/main/java/com/mysanjeevni/mysanjeevni/utils/SessionManager.kt - Service API
app/src/main/java/com/mysanjeevni/mysanjeevni/data/remote/api/ApiService.kt - Push notifications
app/src/main/java/com/mysanjeevni/mysanjeevni/utils/MyFirebaseService.kt - Notification history
app/src/main/java/com/mysanjeevni/mysanjeevni/data/local/dao/NotificationDao.kt
Other components
- App user
- Healthcare service backend
- Firebase Cloud Messaging
Connections 22
- App user → Android entry: opens
- Android entry → Feature navigation: routes through
- App user → Sign-in and OTP: signs in
- Sign-in and OTP → Authentication: requests auth
- Authentication → Service API: calls login and OTP
app/src/main/java/com/mysanjeevni/mysanjeevni/features/auth/data/repository/AuthRepositoryImpl.kt - Authentication → Session preferences: stores session
- App user → Home discovery: browses
- Home discovery → Product catalog: shows products
- Home discovery → Category browsing: shows categories
- Shopping cart → Local cart store: reads and writes
- Order management → Service API: creates and fetches orders
app/src/main/java/com/mysanjeevni/mysanjeevni/features/orders/data/repository/OrderRepositoryImpl.kt - Prescription upload → Service API: uploads prescription
- Lab testing → Service API: books and checks slots
app/src/main/java/com/mysanjeevni/mysanjeevni/features/labs/data/repository/LabsRepositoryImpl.kt - Doctor consultation → Service API: books consultations
app/src/main/java/com/mysanjeevni/mysanjeevni/features/consult/data/repository/ConsultRepositoryImpl.kt - Doctor consultation → Video consultation: starts video call
- Customer support → Service API: uses support endpoints
- Product reviews → Service API: reads and submits reviews
app/src/main/java/com/mysanjeevni/mysanjeevni/features/review/data/repository/ReviewRepositoryImpl.kt - Service API → Healthcare service backend: sends service requests
app/src/main/java/com/mysanjeevni/mysanjeevni/data/remote/api/ApiService.kt - Firebase Cloud Messaging → Push notifications: delivers messages
- Push notifications → Notification history: inserts history
app/src/main/java/com/mysanjeevni/mysanjeevni/utils/MyFirebaseService.kt - Push notifications → Session preferences: checks notification setting
app/src/main/java/com/mysanjeevni/mysanjeevni/utils/MyFirebaseService.kt - Push notifications → Android entry: opens notification route
app/src/main/java/com/mysanjeevni/mysanjeevni/utils/MyFirebaseService.kt