# normtrytocode/kelompok_strava_uas_moprog architecture

> Architecture diagram of the GitHub repository normtrytocode/kelompok_strava_uas_moprog, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/normtrytocode/kelompok_strava_uas_moprog
- Repository: https://github.com/normtrytocode/kelompok_strava_uas_moprog

## Overview

This is a Flutter Strava-style fitness and social app. A principal user journey is to record or enter an activity, review activity and progress, and participate in clubs, events, and conversations; discovery, profile management, and account features are distinct branches. The tree supports these feature boundaries, but the Dart implementations were not excerpted, and the README gives no workflow detail, so inter-feature links are shown as unverified rather than asserted calls. Native platform runner and generated plugin files are omitted as hosting infrastructure.

Main entry points: [`lib/features/activity/activity_provider.dart`](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/activity_provider.dart) (Activity State), [`lib/features/activity/manual_activity_page.dart`](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/manual_activity_page.dart) (Activity Entry), [`lib/features/activity/activity_list_page.dart`](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/activity_list_page.dart) (Activity Feed), [`lib/features/groups/tabs/clubs/clubs_tab.dart`](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/clubs_tab.dart) (Clubs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_activities["Activities"]
  node_activity_entry["Activity Entry"]
  node_activity_feed["Activity Feed"]
  node_activity_state["Activity State"]
  node_home["Home Dashboard<br/>[home_page.dart]"]
end

subgraph group_community["Community"]
  node_groups["Groups Hub<br/>[groups_page.dart]"]
  node_clubs["Clubs<br/>[clubs_tab.dart]"]
  node_club_events["Club Events"]
  node_channels["Club Channels"]
  node_posts["Club Posts"]
  node_challenges["Challenges"]
  node_friends["Friends and Chat<br/>[friend_page.dart]"]
end

subgraph group_discovery["Discovery"]
  node_search["Search<br/>[search_page.dart]"]
  node_map["Places Map<br/>[map_page.dart]"]
end

subgraph group_athlete["Athlete Profile"]
  node_profile["Athlete Profile<br/>[profile_page.dart]"]
  node_statistics["Sport Statistics"]
  node_trophies["Trophies"]
  node_gear["Athlete Gear"]
  node_profile_edit["Edit Profile"]
end

subgraph group_account["Account"]
  node_login["Sign In<br/>[login_page.dart]"]
  node_registration["Registration<br/>[register_page.dart]"]
  node_settings["Preferences<br/>[settings_page.dart]"]
  node_notifications["Notifications"]
end

node_user(("Athlete"))
node_database_service["Database Service"]
node_firestore[("Cloud Firestore")]

node_user -.->|"records activity"| node_activity_entry
node_user -.->|"reviews activity"| node_activity_feed
node_user -.->|"views dashboard"| node_home
node_user -.->|"opens groups"| node_groups
node_user -.->|"browses clubs"| node_clubs
node_user -.->|"browses events"| node_club_events
node_user -.->|"joins discussions"| node_channels
node_user -.->|"creates posts"| node_posts
node_user -.->|"views challenges"| node_challenges
node_user -.->|"connects socially"| node_friends
node_user -.->|"searches"| node_search
node_user -.->|"explores places"| node_map
node_user -.->|"views profile"| node_profile
node_user -.->|"reviews statistics"| node_statistics
node_user -.->|"views trophies"| node_trophies
node_user -.->|"manages gear"| node_gear
node_user -.->|"edits profile"| node_profile_edit
node_user -.->|"signs in"| node_login
node_user -.->|"creates account"| node_registration
node_user -.->|"sets preferences"| node_settings
node_user -.->|"checks notifications"| node_notifications
node_activity_entry -.->|"updates state"| node_activity_state
node_activity_feed -.->|"uses activity state"| node_activity_state
node_activity_state -.->|"persists activities"| node_database_service
node_clubs -.->|"cloud data"| node_firestore
node_channels -.->|"cloud data"| node_firestore
node_friends -.->|"cloud data"| node_firestore

click node_activity_entry "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/manual_activity_page.dart"
click node_activity_feed "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/activity_list_page.dart"
click node_activity_state "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/activity_provider.dart"
click node_home "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/home/home_page.dart"
click node_groups "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/groups_page.dart"
click node_clubs "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/clubs_tab.dart"
click node_club_events "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/subfeatures/club_events/club_events_page.dart"
click node_channels "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/subfeatures/club_channels/club_channels_page.dart"
click node_posts "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/subfeatures/club_posts/create_post_page.dart"
click node_challenges "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/challenges/challenges_tab.dart"
click node_friends "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/relationship/pages/friend_page.dart"
click node_search "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/search/search_page.dart"
click node_map "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/map/map_page.dart"
click node_profile "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/profile_page.dart"
click node_statistics "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/statistics/screens/statistics_screen.dart"
click node_trophies "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/trophies/screens/trophy_case_screen.dart"
click node_gear "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/gear/screens/gear_management_screen.dart"
click node_profile_edit "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/edit_profile/screens/edit_profile_screen.dart"
click node_login "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/login/login_page.dart"
click node_registration "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/register/register_page.dart"
click node_settings "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/settings/settings_page.dart"
click node_notifications "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/notifications/notifications_page.dart"
click node_database_service "https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/core/database/database_service.dart"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_activity_entry,node_activity_feed,node_activity_state,node_home toneBlue
class node_groups,node_clubs,node_club_events,node_channels,node_posts,node_challenges,node_friends,node_database_service,node_firestore toneAmber
class node_search,node_map toneMint
class node_profile,node_statistics,node_trophies,node_gear,node_profile_edit toneRose
class node_login,node_registration,node_settings,node_notifications,node_user toneIndigo
```

## Components

### Activities

- [Activity Entry](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/manual_activity_page.dart): `lib/features/activity/manual_activity_page.dart`
- [Activity Feed](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/activity_list_page.dart): `lib/features/activity/activity_list_page.dart`
- [Activity State](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/activity/activity_provider.dart): `lib/features/activity/activity_provider.dart`
- [Home Dashboard](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/home/home_page.dart): `lib/features/home/home_page.dart`

### Community

- [Groups Hub](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/groups_page.dart): `lib/features/groups/groups_page.dart`
- [Clubs](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/clubs_tab.dart): `lib/features/groups/tabs/clubs/clubs_tab.dart`
- [Club Events](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/subfeatures/club_events/club_events_page.dart): `lib/features/groups/tabs/clubs/subfeatures/club_events/club_events_page.dart`
- [Club Channels](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/subfeatures/club_channels/club_channels_page.dart): `lib/features/groups/tabs/clubs/subfeatures/club_channels/club_channels_page.dart`
- [Club Posts](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/clubs/subfeatures/club_posts/create_post_page.dart): `lib/features/groups/tabs/clubs/subfeatures/club_posts/create_post_page.dart`
- [Challenges](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/groups/tabs/challenges/challenges_tab.dart): `lib/features/groups/tabs/challenges/challenges_tab.dart`
- [Friends and Chat](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/relationship/pages/friend_page.dart): `lib/features/relationship/pages/friend_page.dart`

### Discovery

- [Search](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/search/search_page.dart): `lib/features/search/search_page.dart`
- [Places Map](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/map/map_page.dart): `lib/features/map/map_page.dart`

### Athlete Profile

- [Athlete Profile](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/profile_page.dart): `lib/features/profile/profile_page.dart`
- [Sport Statistics](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/statistics/screens/statistics_screen.dart): `lib/features/profile/statistics/screens/statistics_screen.dart`
- [Trophies](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/trophies/screens/trophy_case_screen.dart): `lib/features/profile/trophies/screens/trophy_case_screen.dart`
- [Athlete Gear](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/gear/screens/gear_management_screen.dart): `lib/features/profile/gear/screens/gear_management_screen.dart`
- [Edit Profile](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/profile/edit_profile/screens/edit_profile_screen.dart): `lib/features/profile/edit_profile/screens/edit_profile_screen.dart`

### Account

- [Sign In](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/login/login_page.dart): `lib/features/login/login_page.dart`
- [Registration](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/register/register_page.dart): `lib/features/register/register_page.dart`
- [Preferences](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/settings/settings_page.dart): `lib/features/settings/settings_page.dart`
- [Notifications](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/features/notifications/notifications_page.dart): `lib/features/notifications/notifications_page.dart`

### Other components

- **Athlete**
- [Database Service](https://github.com/normtrytocode/kelompok_strava_uas_moprog/blob/main/lib/core/database/database_service.dart): `lib/core/database/database_service.dart`
- **Cloud Firestore**

## Connections

- Athlete → Activity Entry: records activity
- Athlete → Activity Feed: reviews activity
- Athlete → Home Dashboard: views dashboard
- Athlete → Groups Hub: opens groups
- Athlete → Clubs: browses clubs
- Athlete → Club Events: browses events
- Athlete → Club Channels: joins discussions
- Athlete → Club Posts: creates posts
- Athlete → Challenges: views challenges
- Athlete → Friends and Chat: connects socially
- Athlete → Search: searches
- Athlete → Places Map: explores places
- Athlete → Athlete Profile: views profile
- Athlete → Sport Statistics: reviews statistics
- Athlete → Trophies: views trophies
- Athlete → Athlete Gear: manages gear
- Athlete → Edit Profile: edits profile
- Athlete → Sign In: signs in
- Athlete → Registration: creates account
- Athlete → Preferences: sets preferences
- Athlete → Notifications: checks notifications
- Activity Entry → Activity State: updates state
- Activity Feed → Activity State: uses activity state
- Activity State → Database Service: persists activities
- Clubs → Cloud Firestore: cloud data
- Club Channels → Cloud Firestore: cloud data
- Friends and Chat → Cloud Firestore: cloud data
