# lpmn374/websiteformymom architecture

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

- Interactive diagram: https://gitdiagram.com/lpmn374/websiteformymom
- Repository: https://github.com/lpmn374/websiteformymom

## Overview

This is a small, client-side financial calculator website for the author's mother. The principal workflow is entering savings or gold transaction values, optionally using quick-add controls, and viewing the calculated result with the amount also written in Vietnamese words. The README says the app has no data storage. The tree and excerpts do not expose the calculator implementations, so those nodes use the existing `src/app` directory; their capabilities and links are documented in the README.

Main entry points: [`src/app`](https://github.com/lpmn374/websiteformymom/tree/main/src/app) (Calculator website), [`src/main.tsx`](https://github.com/lpmn374/websiteformymom/blob/main/src/main.tsx) (React bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_bootstrap["React bootstrap<br/>[main.tsx]"]
  node_app["Calculator website"]
end

subgraph group_calculators["Financial calculators"]
  node_savings["Savings interest"]
  node_gold["Gold profit"]
end

subgraph group_input_readability["Input and readability"]
  node_quick_add["Quick-add controls"]
  node_number_words["Vietnamese number words"]
end

node_user(("User"))

node_user -->|"uses"| node_app
node_bootstrap -->|"renders"| node_app
node_app -->|"offers"| node_savings
node_app -->|"offers"| node_gold
node_app -->|"provides"| node_quick_add
node_app -->|"displays"| node_number_words

click node_bootstrap "https://github.com/lpmn374/websiteformymom/blob/main/src/main.tsx"
click node_app "https://github.com/lpmn374/websiteformymom/tree/main/src/app"
click node_savings "https://github.com/lpmn374/websiteformymom/tree/main/src/app"
click node_gold "https://github.com/lpmn374/websiteformymom/tree/main/src/app"
click node_quick_add "https://github.com/lpmn374/websiteformymom/tree/main/src/app"
click node_number_words "https://github.com/lpmn374/websiteformymom/tree/main/src/app"

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_bootstrap,node_app,node_user toneBlue
class node_savings,node_gold toneAmber
class node_quick_add,node_number_words toneMint
```

## Components

### Application entry

- [React bootstrap](https://github.com/lpmn374/websiteformymom/blob/main/src/main.tsx): `src/main.tsx`
- [Calculator website](https://github.com/lpmn374/websiteformymom/tree/main/src/app): `src/app`

### Financial calculators

- [Savings interest](https://github.com/lpmn374/websiteformymom/tree/main/src/app): `src/app`
- [Gold profit](https://github.com/lpmn374/websiteformymom/tree/main/src/app): `src/app`

### Input and readability

- [Quick-add controls](https://github.com/lpmn374/websiteformymom/tree/main/src/app): `src/app`
- [Vietnamese number words](https://github.com/lpmn374/websiteformymom/tree/main/src/app): `src/app`

### Other components

- **User**

## Connections

- User → Calculator website: uses (evidence: `README.md`)
- React bootstrap → Calculator website: renders (evidence: `src/main.tsx`)
- Calculator website → Savings interest: offers (evidence: `README.md`)
- Calculator website → Gold profit: offers (evidence: `README.md`)
- Calculator website → Quick-add controls: provides (evidence: `README.md`)
- Calculator website → Vietnamese number words: displays (evidence: `README.md`)
