How haesookimdev/hop-u works
Main Components
a. Client-Side (Android App)
• UI Layer (Activities and Fragments)
• ViewModel Layer
• Repository Layer
• Notification System
b. Backend Services
• Firebase Services (indicated by the google-services.json and Firebase-related classes)
• Authentication
• Real-time Database
• Cloud Messaging (FCM)
c. External Services
• Daum Maps Integration (indicated by libDaumMapAndroid.jar)
• API Services (indicated by APIService.java)
Frontend Architecture (Top Level)
• Main UI components:
• Main Activities (MainActivity, LogInActivity, SignUpActivity)
• Key Fragments (MainHomeFragment, NewsFragment, ConsultingFragment)
• ViewModels (LogInViewModel, SignInViewModel, DatabaseViewModel)
• Adapters for RecyclerViews
Data Flow Layer (Middle Level)
• Repository Pattern Implementation:
• FirebaseInstanceDatabase
• FirebaseLoginInstance
• FirebaseSignUpInstance
External Services (Bottom Level)
• Firebase Services
• Daum Maps API
• Custom API Services
Specific Implementation Details
• Blue rectangles: UI components
• Green rectangles: ViewModels
• Yellow rectangles: Repositories
• Red rectangles: External services
• Purple rectangles: Notification system
Connection Flows
• Data flow between components
• Authentication flow
• API calls
• Push notification path
Key Features to Highlight
• Chat System (MessageActivity, ChatList)
• Quiz Game Feature (QuizGameActivity)
• Integration (MapActivity)
• News System (NewsFragment, NewsMoreActivity)
• Trial System (TrialActivity)
Architecture Patterns to Emphasize
• MVVM Architecture (ViewModels and Repository pattern)
• Observer Pattern (for LiveData usage)
• Adapter Pattern (for RecyclerViews)