# ejqs/here architecture

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

- Interactive diagram: https://gitdiagram.com/ejqs/here
- Repository: https://github.com/ejqs/here

## Overview

Here is a Flutter school-project app, with screen modules for login, groups, events, search, settings, and attendance records. Firebase and AWS Rekognition are mentioned in the README, but it says both services are disabled; their exact runtime roles and the screen-to-screen flow cannot be verified from the sampled files. The graph therefore shows the app’s main areas and marks unverified relationships as dashed. The Dart implementation was not sampled.

Main entry points: [`lib/main.dart`](https://github.com/ejqs/here/blob/main/lib/main.dart) (App entry), [`lib/screens/home_page.dart`](https://github.com/ejqs/here/blob/main/lib/screens/home_page.dart) (Home screen), [`lib/screens/login_page.dart`](https://github.com/ejqs/here/blob/main/lib/screens/login_page.dart) (Login), [`lib/functions/firestore.dart`](https://github.com/ejqs/here/blob/main/lib/functions/firestore.dart) (Firestore helper)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App shell"]
  node_app_entry["App entry<br/>[main.dart]"]
  node_home["Home screen<br/>[home_page.dart]"]
  node_navigation["Navigation menu"]
  node_login["Login<br/>[login_page.dart]"]
  node_settings["Settings<br/>[settings.dart]"]
end

subgraph group_community["Groups and events"]
  node_groups["Group screens<br/>[group_page.dart]"]
  node_create_group["Create group<br/>[create_group.dart]"]
  node_edit_group["Edit group<br/>[edit_group.dart]"]
  node_join_group["Join group<br/>[join_group.dart]"]
  node_events["Events list<br/>[events_page.dart]"]
  node_create_event["Create event<br/>[create_event.dart]"]
  node_edit_event["Edit event<br/>[edit_event.dart]"]
  node_search["Search<br/>[search_page.dart]"]
end

subgraph group_attendance["Attendance"]
  node_attendance_list["Attendance list<br/>[list_item.dart]"]
  node_attendance_add["Add attendance<br/>[add_item.dart]"]
  node_attendance_details["Attendance details<br/>[details_item.dart]"]
  node_attendance_edit["Edit attendance<br/>[edit_item.dart]"]
  node_attendance_wait["Attendance wait<br/>[wait_screen.dart]"]
end

subgraph group_shared["Shared services"]
  node_firestore_helper["Firestore helper<br/>[firestore.dart]"]
  node_file_names["File name helper"]
  node_globals["Shared globals<br/>[globals.dart]"]
end

node_user(("App user"))
node_firebase[("Firebase services")]
node_rekognition["AWS Rekognition"]

node_user -.->|"opens"| node_app_entry
node_app_entry -.->|"starts"| node_home
node_home -.->|"navigates"| node_navigation
node_login -.->|"may use"| node_firebase
node_firestore_helper -.->|"may access"| node_firebase
node_app_entry -.->|"may integrate"| node_rekognition

click node_app_entry "https://github.com/ejqs/here/blob/main/lib/main.dart"
click node_home "https://github.com/ejqs/here/blob/main/lib/screens/home_page.dart"
click node_navigation "https://github.com/ejqs/here/blob/main/lib/screens/navigation_menu.dart"
click node_login "https://github.com/ejqs/here/blob/main/lib/screens/login_page.dart"
click node_settings "https://github.com/ejqs/here/blob/main/lib/screens/settings.dart"
click node_groups "https://github.com/ejqs/here/blob/main/lib/screens/group_page.dart"
click node_create_group "https://github.com/ejqs/here/blob/main/lib/screens/create_group.dart"
click node_edit_group "https://github.com/ejqs/here/blob/main/lib/screens/edit_group.dart"
click node_join_group "https://github.com/ejqs/here/blob/main/lib/screens/join_group.dart"
click node_events "https://github.com/ejqs/here/blob/main/lib/screens/events_page.dart"
click node_create_event "https://github.com/ejqs/here/blob/main/lib/screens/create_event.dart"
click node_edit_event "https://github.com/ejqs/here/blob/main/lib/screens/edit_event.dart"
click node_search "https://github.com/ejqs/here/blob/main/lib/screens/search_page.dart"
click node_attendance_list "https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/list_item.dart"
click node_attendance_add "https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/add_item.dart"
click node_attendance_details "https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/details_item.dart"
click node_attendance_edit "https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/edit_item.dart"
click node_attendance_wait "https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/wait_screen.dart"
click node_firestore_helper "https://github.com/ejqs/here/blob/main/lib/functions/firestore.dart"
click node_file_names "https://github.com/ejqs/here/blob/main/lib/functions/file_name_getter.dart"
click node_globals "https://github.com/ejqs/here/blob/main/lib/functions/globals.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_app_entry,node_home,node_navigation,node_login,node_settings,node_user toneBlue
class node_groups,node_create_group,node_edit_group,node_join_group,node_events,node_create_event,node_edit_event,node_search,node_firebase toneAmber
class node_attendance_list,node_attendance_add,node_attendance_details,node_attendance_edit,node_attendance_wait toneMint
class node_firestore_helper,node_file_names,node_globals toneRose
class node_rekognition toneIndigo
```

## Components

### App shell

- [App entry](https://github.com/ejqs/here/blob/main/lib/main.dart): `lib/main.dart`
- [Home screen](https://github.com/ejqs/here/blob/main/lib/screens/home_page.dart): `lib/screens/home_page.dart`
- [Navigation menu](https://github.com/ejqs/here/blob/main/lib/screens/navigation_menu.dart): `lib/screens/navigation_menu.dart`
- [Login](https://github.com/ejqs/here/blob/main/lib/screens/login_page.dart): `lib/screens/login_page.dart`
- [Settings](https://github.com/ejqs/here/blob/main/lib/screens/settings.dart): `lib/screens/settings.dart`

### Groups and events

- [Group screens](https://github.com/ejqs/here/blob/main/lib/screens/group_page.dart): `lib/screens/group_page.dart`
- [Create group](https://github.com/ejqs/here/blob/main/lib/screens/create_group.dart): `lib/screens/create_group.dart`
- [Edit group](https://github.com/ejqs/here/blob/main/lib/screens/edit_group.dart): `lib/screens/edit_group.dart`
- [Join group](https://github.com/ejqs/here/blob/main/lib/screens/join_group.dart): `lib/screens/join_group.dart`
- [Events list](https://github.com/ejqs/here/blob/main/lib/screens/events_page.dart): `lib/screens/events_page.dart`
- [Create event](https://github.com/ejqs/here/blob/main/lib/screens/create_event.dart): `lib/screens/create_event.dart`
- [Edit event](https://github.com/ejqs/here/blob/main/lib/screens/edit_event.dart): `lib/screens/edit_event.dart`
- [Search](https://github.com/ejqs/here/blob/main/lib/screens/search_page.dart): `lib/screens/search_page.dart`

### Attendance

- [Attendance list](https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/list_item.dart): `lib/screens/attendance-screens/list_item.dart`
- [Add attendance](https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/add_item.dart): `lib/screens/attendance-screens/add_item.dart`
- [Attendance details](https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/details_item.dart): `lib/screens/attendance-screens/details_item.dart`
- [Edit attendance](https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/edit_item.dart): `lib/screens/attendance-screens/edit_item.dart`
- [Attendance wait](https://github.com/ejqs/here/blob/main/lib/screens/attendance-screens/wait_screen.dart): `lib/screens/attendance-screens/wait_screen.dart`

### Shared services

- [Firestore helper](https://github.com/ejqs/here/blob/main/lib/functions/firestore.dart): `lib/functions/firestore.dart`
- [File name helper](https://github.com/ejqs/here/blob/main/lib/functions/file_name_getter.dart): `lib/functions/file_name_getter.dart`
- [Shared globals](https://github.com/ejqs/here/blob/main/lib/functions/globals.dart): `lib/functions/globals.dart`

### Other components

- **App user**
- **Firebase services**
- **AWS Rekognition**

## Connections

- App user → App entry: opens
- App entry → Home screen: starts
- Home screen → Navigation menu: navigates
- Login → Firebase services: may use (evidence: `README.md`)
- Firestore helper → Firebase services: may access (evidence: `README.md`)
- App entry → AWS Rekognition: may integrate (evidence: `README.md`)
