# thinhdangcode/coolcare-web architecture

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

- Interactive diagram: https://gitdiagram.com/thinhdangcode/coolcare-web
- Repository: https://github.com/thinhdangcode/coolcare-web

## Overview

The README describes a CoolCare management dashboard, but the available frontend source currently renders the default Vite/React starter screen and counter. The tree shows a backend directory but no backend source files, so no backend behavior or dashboard workflow can be established. The graph covers only the evidenced frontend entry point, UI, and styles.

Main entry points: [`frontend/src/main.jsx`](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/main.jsx) (React entry), [`frontend/src/App.jsx`](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/App.jsx) (Starter UI), [`frontend/src/index.css`](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/index.css) (Global styles), [`frontend/src/App.css`](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/App.css) (App styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Frontend runtime"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Starter UI<br/>[App.jsx]"]
  node_global_styles["Global styles<br/>[index.css]"]
  node_app_styles["App styles<br/>[App.css]"]
end

node_browser(("Browser user"))

node_entry -->|"renders"| node_app
node_entry -->|"imports"| node_global_styles
node_app -->|"imports"| node_app_styles

click node_entry "https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/main.jsx"
click node_app "https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/App.jsx"
click node_global_styles "https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/index.css"
click node_app_styles "https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/App.css"

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_global_styles,node_app_styles,node_browser toneBlue
```

## Components

### Frontend runtime

- [React entry](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/main.jsx): `frontend/src/main.jsx`
- [Starter UI](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/App.jsx): `frontend/src/App.jsx`
- [Global styles](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/index.css): `frontend/src/index.css`
- [App styles](https://github.com/thinhdangcode/coolcare-web/blob/main/frontend/src/App.css): `frontend/src/App.css`

### Other components

- **Browser user**

## Connections

- React entry → Starter UI: renders (evidence: `frontend/src/main.jsx`)
- React entry → Global styles: imports (evidence: `frontend/src/main.jsx`)
- Starter UI → App styles: imports (evidence: `frontend/src/App.jsx`)
