# sanyamanchanda3/gympulse architecture

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

- Interactive diagram: https://gitdiagram.com/sanyamanchanda3/gympulse
- Repository: https://github.com/sanyamanchanda3/gympulse

## Overview

GymPulse is a frontend-only React fitness dashboard. The user enters the dashboard, then navigates among crowd monitoring, weekly workout planning, progress summaries, and profile editing; interactions update page-local React state rather than a server. The graph separates app navigation, fitness views and shared UI/data. Sampled source shows the principal page-to-component and planner-to-data relationships; unsampled implementation details are represented only where the README documents the capability. There is no backend, API, or database.

Main entry points: [`src/App.jsx`](https://github.com/sanyamanchanda3/gympulse/blob/main/src/App.jsx) (Page State), [`src/components/Panel.jsx`](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/Panel.jsx) (Panel), [`src/pages/Dashboard.jsx`](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Dashboard.jsx) (Dashboard), [`src/pages/CrowdMonitor.jsx`](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/CrowdMonitor.jsx) (Crowd Monitor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App Navigation"]
  node_mount["React Mount<br/>[main.jsx]"]
  node_appstate["Page State<br/>[App.jsx]"]
  node_layout["App Layout<br/>[AppLayout.jsx]"]
  node_sidebar["Navigation Sidebar<br/>[Sidebar.jsx]"]
end

subgraph group_fitness["Fitness Views"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_crowd["Crowd Monitor<br/>[CrowdMonitor.jsx]"]
  node_planner["Workout Planner<br/>[WorkoutPlanner.jsx]"]
  node_progress["Progress Summary<br/>[Progress.jsx]"]
  node_profile["Profile Editor<br/>[Profile.jsx]"]
end

subgraph group_shared["Shared UI And Data"]
  node_workoutdata["Workout Examples<br/>[gymData.js]"]
  node_panel["Panel<br/>[Panel.jsx]"]
  node_statcard["Stat Card<br/>[StatCard.jsx]"]
  node_ring["Progress Ring<br/>[ProgressRing.jsx]"]
  node_crowdchart["Crowd Trend Chart"]
end

node_user(("Gym User"))

node_user -->|"opens app"| node_mount
node_mount -->|"mounts"| node_appstate
node_appstate -->|"renders"| node_layout
node_appstate -->|"selects page"| node_dashboard
node_appstate -->|"selects page"| node_crowd
node_appstate -->|"selects page"| node_planner
node_appstate -->|"selects page"| node_progress
node_appstate -->|"selects page"| node_profile
node_layout -->|"renders"| node_sidebar
node_dashboard -->|"renders"| node_statcard
node_dashboard -->|"renders"| node_panel
node_dashboard -->|"renders"| node_crowdchart
node_dashboard -->|"reads schedule"| node_workoutdata
node_crowd -->|"renders"| node_statcard
node_crowd -->|"renders"| node_panel
node_crowd -->|"renders"| node_ring
node_crowd -->|"renders"| node_crowdchart
node_planner -->|"renders"| node_panel
node_planner -->|"reads exercises"| node_workoutdata
node_progress -->|"renders"| node_panel
node_progress -->|"renders"| node_statcard
node_progress -->|"renders"| node_ring
node_profile -->|"renders"| node_panel
node_statcard -->|"renders"| node_panel

click node_mount "https://github.com/sanyamanchanda3/gympulse/blob/main/src/main.jsx"
click node_appstate "https://github.com/sanyamanchanda3/gympulse/blob/main/src/App.jsx"
click node_layout "https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/AppLayout.jsx"
click node_sidebar "https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/Sidebar.jsx"
click node_dashboard "https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Dashboard.jsx"
click node_crowd "https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/CrowdMonitor.jsx"
click node_planner "https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/WorkoutPlanner.jsx"
click node_progress "https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Progress.jsx"
click node_profile "https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Profile.jsx"
click node_workoutdata "https://github.com/sanyamanchanda3/gympulse/blob/main/src/data/gymData.js"
click node_panel "https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/Panel.jsx"
click node_statcard "https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/StatCard.jsx"
click node_ring "https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/ProgressRing.jsx"
click node_crowdchart "https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/CrowdTrendChart.jsx"

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_mount,node_appstate,node_layout,node_sidebar,node_user toneBlue
class node_dashboard,node_crowd,node_planner,node_progress,node_profile toneAmber
class node_workoutdata,node_panel,node_statcard,node_ring,node_crowdchart toneMint
```

## Components

### App Navigation

- [React Mount](https://github.com/sanyamanchanda3/gympulse/blob/main/src/main.jsx): `src/main.jsx`
- [Page State](https://github.com/sanyamanchanda3/gympulse/blob/main/src/App.jsx): `src/App.jsx`
- [App Layout](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/AppLayout.jsx): `src/components/AppLayout.jsx`
- [Navigation Sidebar](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/Sidebar.jsx): `src/components/Sidebar.jsx`

### Fitness Views

- [Dashboard](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Dashboard.jsx): `src/pages/Dashboard.jsx`
- [Crowd Monitor](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/CrowdMonitor.jsx): `src/pages/CrowdMonitor.jsx`
- [Workout Planner](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/WorkoutPlanner.jsx): `src/pages/WorkoutPlanner.jsx`
- [Progress Summary](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Progress.jsx): `src/pages/Progress.jsx`
- [Profile Editor](https://github.com/sanyamanchanda3/gympulse/blob/main/src/pages/Profile.jsx): `src/pages/Profile.jsx`

### Shared UI And Data

- [Workout Examples](https://github.com/sanyamanchanda3/gympulse/blob/main/src/data/gymData.js): `src/data/gymData.js`
- [Panel](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/Panel.jsx): `src/components/Panel.jsx`
- [Stat Card](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/StatCard.jsx): `src/components/StatCard.jsx`
- [Progress Ring](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/ProgressRing.jsx): `src/components/ProgressRing.jsx`
- [Crowd Trend Chart](https://github.com/sanyamanchanda3/gympulse/blob/main/src/components/CrowdTrendChart.jsx): `src/components/CrowdTrendChart.jsx`

### Other components

- **Gym User**

## Connections

- Gym User → React Mount: opens app (evidence: `README.md`)
- React Mount → Page State: mounts (evidence: `src/main.jsx`)
- Page State → App Layout: renders (evidence: `src/App.jsx`)
- Page State → Dashboard: selects page (evidence: `src/App.jsx`)
- Page State → Crowd Monitor: selects page (evidence: `src/App.jsx`)
- Page State → Workout Planner: selects page (evidence: `src/App.jsx`)
- Page State → Progress Summary: selects page (evidence: `src/App.jsx`)
- Page State → Profile Editor: selects page (evidence: `src/App.jsx`)
- App Layout → Navigation Sidebar: renders (evidence: `src/components/AppLayout.jsx`)
- Dashboard → Stat Card: renders (evidence: `src/pages/Dashboard.jsx`)
- Dashboard → Panel: renders (evidence: `src/pages/Dashboard.jsx`)
- Dashboard → Crowd Trend Chart: renders (evidence: `src/pages/Dashboard.jsx`)
- Dashboard → Workout Examples: reads schedule (evidence: `src/pages/Dashboard.jsx`)
- Crowd Monitor → Stat Card: renders (evidence: `src/pages/CrowdMonitor.jsx`)
- Crowd Monitor → Panel: renders (evidence: `src/pages/CrowdMonitor.jsx`)
- Crowd Monitor → Progress Ring: renders (evidence: `src/pages/CrowdMonitor.jsx`)
- Crowd Monitor → Crowd Trend Chart: renders (evidence: `src/pages/CrowdMonitor.jsx`)
- Workout Planner → Panel: renders (evidence: `src/pages/WorkoutPlanner.jsx`)
- Workout Planner → Workout Examples: reads exercises (evidence: `src/pages/WorkoutPlanner.jsx`)
- Progress Summary → Panel: renders (evidence: `src/pages/Progress.jsx`)
- Progress Summary → Stat Card: renders (evidence: `src/pages/Progress.jsx`)
- Progress Summary → Progress Ring: renders (evidence: `src/pages/Progress.jsx`)
- Profile Editor → Panel: renders (evidence: `src/pages/Profile.jsx`)
- Stat Card → Panel: renders (evidence: `src/components/StatCard.jsx`)
