# gedionkipchumba/fitforge architecture

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

- Interactive diagram: https://gitdiagram.com/gedionkipchumba/fitforge
- Repository: https://github.com/gedionkipchumba/fitforge

## Overview

FitForge is a browser-only fitness app demo. Its main workflow is account signup/login, workout logging, and reviewing progress and profile statistics; other documented capabilities include programs, a community feed, and demo AI plan generation. The README identifies index.html as the full single-page application and says all data is stored in localStorage. No source excerpts were provided, so the relationships below are limited to those documented in the README.

Main entry points: [`index.html`](https://github.com/gedionkipchumba/fitforge/blob/main/index.html) (Progress Dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts_training["Accounts &amp; Training"]
  node_account["Signup &amp; Login<br/>[index.html]"]
  node_workout_logger["Workout Logger<br/>[index.html]"]
  node_ai_generator["AI Generator<br/>[index.html]"]
end

subgraph group_insights["Progress &amp; Profile"]
  node_progress_dashboard["Progress Dashboard<br/>[index.html]"]
  node_weekly_chart["Weekly Volume Chart<br/>[index.html]"]
  node_profile["Profile &amp; PRs<br/>[index.html]"]
end

subgraph group_community_programs["Programs &amp; Community"]
  node_programs["Training Programs<br/>[index.html]"]
  node_community_feed["Community Feed<br/>[index.html]"]
end

subgraph group_browser_state["Browser State"]
  node_local_storage[("Browser localStorage")]
end

node_user(("User"))
node_chartjs["Chart.js"]

node_user -->|"signs up"| node_account
node_user -->|"logs workouts"| node_workout_logger
node_user -->|"checks progress"| node_progress_dashboard
node_user -->|"views stats"| node_profile
node_user -->|"browses and saves"| node_programs
node_user -->|"posts and likes"| node_community_feed
node_user -->|"requests plans"| node_ai_generator
node_account -->|"stores account data"| node_local_storage
node_workout_logger -->|"stores workout data"| node_local_storage
node_progress_dashboard -->|"uses stored data"| node_local_storage
node_profile -->|"uses stored data"| node_local_storage
node_programs -->|"stores saved programs"| node_local_storage
node_community_feed -->|"stores posts"| node_local_storage
node_progress_dashboard -->|"shows weekly volume"| node_weekly_chart
node_weekly_chart -->|"uses charts"| node_chartjs

click node_account "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_workout_logger "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_ai_generator "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_progress_dashboard "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_weekly_chart "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_profile "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_programs "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"
click node_community_feed "https://github.com/gedionkipchumba/fitforge/blob/main/index.html"

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_account,node_workout_logger,node_ai_generator,node_user toneBlue
class node_progress_dashboard,node_weekly_chart,node_profile toneAmber
class node_programs,node_community_feed toneMint
class node_local_storage toneRose
class node_chartjs toneIndigo
```

## Components

### Accounts & Training

- [Signup & Login](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`
- [Workout Logger](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`
- [AI Generator](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`

### Progress & Profile

- [Progress Dashboard](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`
- [Weekly Volume Chart](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`
- [Profile & PRs](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`

### Programs & Community

- [Training Programs](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`
- [Community Feed](https://github.com/gedionkipchumba/fitforge/blob/main/index.html): `index.html`

### Browser State

- **Browser localStorage**

### Other components

- **User**
- **Chart.js**

## Connections

- User → Signup & Login: signs up (evidence: `README.md`)
- User → Workout Logger: logs workouts (evidence: `README.md`)
- User → Progress Dashboard: checks progress (evidence: `README.md`)
- User → Profile & PRs: views stats (evidence: `README.md`)
- User → Training Programs: browses and saves (evidence: `README.md`)
- User → Community Feed: posts and likes (evidence: `README.md`)
- User → AI Generator: requests plans (evidence: `README.md`)
- Signup & Login → Browser localStorage: stores account data (evidence: `README.md`)
- Workout Logger → Browser localStorage: stores workout data (evidence: `README.md`)
- Progress Dashboard → Browser localStorage: uses stored data (evidence: `README.md`)
- Profile & PRs → Browser localStorage: uses stored data (evidence: `README.md`)
- Training Programs → Browser localStorage: stores saved programs (evidence: `README.md`)
- Community Feed → Browser localStorage: stores posts (evidence: `README.md`)
- Progress Dashboard → Weekly Volume Chart: shows weekly volume (evidence: `README.md`)
- Weekly Volume Chart → Chart.js: uses charts (evidence: `README.md`)
