# beak00hyunmin7/team_yucheital_frontend architecture

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

## Overview

This repository is a collection of programming exercises and small projects, not one integrated application. Its clearest application is a Three.js box visualizer alongside a separate FastAPI signup/login backend backed by MySQL; the available files do not establish that these two pieces are connected. Other substantial files are standalone practice programs. The graph shows evidenced calls and data flow; backend/frontend integration and the unsampled exercise implementations are intentionally not inferred.

Main entry points: [`sejong_yucheital_project/project_yucheital/yuche_backend/main.py`](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/main.py) (Signup/Login API), [`sejong_yucheital_project/project_yucheital/yuche_backend/database.py`](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/database.py) (DB Sessions), [`sejong_yucheital_project/main.js`](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/main.js) (Box Visualizer), [`sejong_yucheital_project/project_yucheital/yuche_backend/models.py`](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/models.py) (User Model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_visualizer["3D Visualizer"]
  node_visualizer["Box Visualizer<br/>[main.js]"]
  node_three["Three.js"]
end

subgraph group_api["Account API"]
  node_fastapi["Signup/Login API<br/>[main.py]"]
  node_schemas["Request Schemas<br/>[schemas.py]"]
  node_auth["Password Auth<br/>[auth.py]"]
end

subgraph group_persistence["Persistence"]
  node_models["User Model<br/>[models.py]"]
  node_database["DB Sessions<br/>[database.py]"]
  node_mysql[("MySQL")]
end

subgraph group_practice["Standalone Practice"]
  node_nypc["Strategy Game<br/>[code.py]"]
  node_c_practice["C Exercises<br/>[prac.c]"]
  node_python_practice["Python Exercises<br/>[sejong_uni.py]"]
  node_algorithm_practice["Algorithm Exercises<br/>[baekjoon.py]"]
end

node_visitor(("Browser User"))
node_api_client(("API Client"))

node_visitor -->|"submits dimensions"| node_visualizer
node_visualizer -->|"renders scene"| node_three
node_api_client -.->|"sends requests"| node_fastapi
node_fastapi -->|"validates payloads"| node_schemas
node_fastapi -->|"hashes and verifies"| node_auth
node_fastapi -->|"queries and persists"| node_models
node_fastapi -->|"opens sessions"| node_database
node_models -->|"uses Base"| node_database
node_database -->|"connects to"| node_mysql

click node_visualizer "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/main.js"
click node_fastapi "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/main.py"
click node_schemas "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/schemas.py"
click node_auth "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/auth.py"
click node_models "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/models.py"
click node_database "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/database.py"
click node_nypc "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/nypc/code.py"
click node_c_practice "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/c_practice_sejonguniv/c_practice_sejonguniv/prac.c"
click node_python_practice "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/py_language/sejong_uni.py"
click node_algorithm_practice "https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/py_language/baekjoon.py"

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_visualizer,node_three,node_visitor,node_api_client toneBlue
class node_fastapi,node_schemas,node_auth toneAmber
class node_models,node_database,node_mysql toneMint
class node_nypc,node_c_practice,node_python_practice,node_algorithm_practice toneRose
```

## Components

### 3D Visualizer

- [Box Visualizer](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/main.js): `sejong_yucheital_project/main.js`
- **Three.js**

### Account API

- [Signup/Login API](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/main.py): `sejong_yucheital_project/project_yucheital/yuche_backend/main.py`
- [Request Schemas](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/schemas.py): `sejong_yucheital_project/project_yucheital/yuche_backend/schemas.py`
- [Password Auth](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/auth.py): `sejong_yucheital_project/project_yucheital/yuche_backend/auth.py`

### Persistence

- [User Model](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/models.py): `sejong_yucheital_project/project_yucheital/yuche_backend/models.py`
- [DB Sessions](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/sejong_yucheital_project/project_yucheital/yuche_backend/database.py): `sejong_yucheital_project/project_yucheital/yuche_backend/database.py`
- **MySQL**

### Standalone Practice

- [Strategy Game](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/nypc/code.py): `nypc/code.py`
- [C Exercises](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/c_practice_sejonguniv/c_practice_sejonguniv/prac.c): `c_practice_sejonguniv/c_practice_sejonguniv/prac.c`
- [Python Exercises](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/py_language/sejong_uni.py): `py_language/sejong_uni.py`
- [Algorithm Exercises](https://github.com/beak00hyunmin7/team_yucheital_frontend/blob/main/py_language/baekjoon.py): `py_language/baekjoon.py`

### Other components

- **Browser User**
- **API Client**

## Connections

- Browser User → Box Visualizer: submits dimensions (evidence: `sejong_yucheital_project/main.js`)
- Box Visualizer → Three.js: renders scene (evidence: `sejong_yucheital_project/main.js`)
- API Client → Signup/Login API: sends requests
- Signup/Login API → Request Schemas: validates payloads (evidence: `sejong_yucheital_project/project_yucheital/yuche_backend/main.py`)
- Signup/Login API → Password Auth: hashes and verifies (evidence: `sejong_yucheital_project/project_yucheital/yuche_backend/main.py`)
- Signup/Login API → User Model: queries and persists (evidence: `sejong_yucheital_project/project_yucheital/yuche_backend/main.py`)
- Signup/Login API → DB Sessions: opens sessions (evidence: `sejong_yucheital_project/project_yucheital/yuche_backend/main.py`)
- User Model → DB Sessions: uses Base (evidence: `sejong_yucheital_project/project_yucheital/yuche_backend/models.py`)
- DB Sessions → MySQL: connects to (evidence: `sejong_yucheital_project/project_yucheital/yuche_backend/database.py`)
