# nohack11/sphere-app architecture

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

- Interactive diagram: https://gitdiagram.com/nohack11/sphere-app
- Repository: https://github.com/nohack11/sphere-app

## Overview

SPHERE APP is a Flutter app described as helping users track their time. The tree identifies an app entry point, several screens, theme code, and authentication logic, but the provided source excerpts do not show their runtime wiring or any time-tracking implementation. The graph therefore shows the documented product purpose and the identified code components without inferring calls between them. Native platform files and configuration are omitted as implementation details rather than product capabilities.

Main entry points: [`lib/main.dart`](https://github.com/nohack11/sphere-app/blob/main/lib/main.dart) (Time tracking app)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Product"]
  node_sphere["Time tracking app<br/>[main.dart]"]
end

subgraph group_ui["User interface"]
  node_welcome["Welcome screen<br/>[welcome.dart]"]
  node_signup["Signup screen<br/>[signup.dart]"]
  node_register["Registration screen<br/>[register.dart]"]
  node_theme["App theme<br/>[AppTheme.dart]"]
end

subgraph group_logic["Application logic"]
  node_auth["Authentication logic<br/>[auth.dart]"]
end

node_user(("User"))

node_user -->|"tracks time with"| node_sphere

click node_sphere "https://github.com/nohack11/sphere-app/blob/main/lib/main.dart"
click node_welcome "https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/welcome.dart"
click node_signup "https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/signup.dart"
click node_register "https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/register.dart"
click node_theme "https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/AppTheme.dart"
click node_auth "https://github.com/nohack11/sphere-app/blob/main/lib/src/logic/auth.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_sphere,node_user toneBlue
class node_welcome,node_signup,node_register,node_theme toneAmber
class node_auth toneMint
```

## Components

### Product

- [Time tracking app](https://github.com/nohack11/sphere-app/blob/main/lib/main.dart): `lib/main.dart`

### User interface

- [Welcome screen](https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/welcome.dart): `lib/src/screens/welcome.dart`
- [Signup screen](https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/signup.dart): `lib/src/screens/signup.dart`
- [Registration screen](https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/register.dart): `lib/src/screens/register.dart`
- [App theme](https://github.com/nohack11/sphere-app/blob/main/lib/src/screens/AppTheme.dart): `lib/src/screens/AppTheme.dart`

### Application logic

- [Authentication logic](https://github.com/nohack11/sphere-app/blob/main/lib/src/logic/auth.dart): `lib/src/logic/auth.dart`

### Other components

- **User**

## Connections

- User → Time tracking app: tracks time with (evidence: `README.md`)
