# m0rp3x/zalupahumana architecture

> Architecture diagram of the GitHub repository m0rp3x/zalupahumana, 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/m0rp3x/zalupahumana
- Repository: https://github.com/m0rp3x/zalupahumana

## Overview

This is a small C# console program that collects a user's profile, derives a BMI and age category, then inserts the record into MySQL and prints rows from the user table. The README is an incoherent product narrative and does not substantiate additional capabilities, so the graph follows the sole sampled runtime entry point. The profile, classification, and database actions are all implemented inline in Program.cs; no separate layers are evidenced.

Main entry points: [`Program.cs`](https://github.com/m0rp3x/zalupahumana/blob/master/Program.cs) (Console workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["Console interaction"]
  node_program["Console workflow<br/>[Program.cs]"]
end

subgraph group_persistence["MySQL persistence"]
  node_mysql[("MySQL user table")]
end

node_user(("Console user"))

node_user -->|"enters profile"| node_program
node_program -->|"prints profile"| node_user
node_program -->|"inserts and selects"| node_mysql
node_mysql -->|"returns rows"| node_program
node_program -->|"prints rows"| node_user

click node_program "https://github.com/m0rp3x/zalupahumana/blob/master/Program.cs"

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_program,node_user toneBlue
class node_mysql toneAmber
```

## Components

### Console interaction

- [Console workflow](https://github.com/m0rp3x/zalupahumana/blob/master/Program.cs): `Program.cs`

### MySQL persistence

- **MySQL user table**

### Other components

- **Console user**

## Connections

- Console user → Console workflow: enters profile (evidence: `Program.cs`)
- Console workflow → Console user: prints profile (evidence: `Program.cs`)
- Console workflow → MySQL user table: inserts and selects (evidence: `Program.cs`)
- MySQL user table → Console workflow: returns rows (evidence: `Program.cs`)
- Console workflow → Console user: prints rows (evidence: `Program.cs`)
