# upgradojha/client-work-001 architecture

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

- Interactive diagram: https://gitdiagram.com/upgradojha/client-work-001
- Repository: https://github.com/upgradojha/client-work-001

## Overview

This is a minimal React kundali-chart editor, not a multi-service system. The user edits a chart in the single App component, which also provides reset, save, SVG download, and PNG preview/download controls. The entry point mounts that component. The excerpts show SVG download using browser APIs; PNG generation and save internals are not shown, so their implementation details are not inferred.

Main entry points: [`src/App.jsx`](https://github.com/upgradojha/client-work-001/blob/main/src/App.jsx) (Kundali editor), [`src/main.jsx`](https://github.com/upgradojha/client-work-001/blob/main/src/main.jsx) (App entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["React runtime"]
  node_entry["App entry<br/>[main.jsx]"]
  node_app["Kundali editor<br/>[App.jsx]"]
end

node_user(("Chart user"))
node_browser["Browser download APIs"]

node_entry -->|"renders"| node_app
node_user -->|"edits chart"| node_app
node_app -->|"downloads SVG"| node_browser

click node_entry "https://github.com/upgradojha/client-work-001/blob/main/src/main.jsx"
click node_app "https://github.com/upgradojha/client-work-001/blob/main/src/App.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_entry,node_app,node_user,node_browser toneBlue
```

## Components

### React runtime

- [App entry](https://github.com/upgradojha/client-work-001/blob/main/src/main.jsx): `src/main.jsx`
- [Kundali editor](https://github.com/upgradojha/client-work-001/blob/main/src/App.jsx): `src/App.jsx`

### Other components

- **Chart user**
- **Browser download APIs**

## Connections

- App entry → Kundali editor: renders (evidence: `src/main.jsx`)
- Chart user → Kundali editor: edits chart (evidence: `src/App.jsx`)
- Kundali editor → Browser download APIs: downloads SVG (evidence: `src/App.jsx`)
