# fogsbridge/yogurt architecture

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

- Interactive diagram: https://gitdiagram.com/fogsbridge/yogurt
- Repository: https://github.com/fogsbridge/yogurt

## Overview

YogurT is represented here as two Vue frontend shells (web and admin) plus a Spring Boot server. The evidenced frontend workflow is application bootstrap, plugin/router registration, then rendering the shell’s RouterView; both routers currently declare empty route lists. The server excerpt only shows Spring Boot startup, with no demonstrated connection to either frontend or a database. The README names the product but documents no further capabilities, and the available excerpts do not establish domain behavior or API workflows.

Main entry points: [`yogurt-admin/src/main.js`](https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/main.js) (Admin bootstrap), [`yogurt-web/src/main.js`](https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/main.js) (Web bootstrap), [`yogurt-web/src/App.vue`](https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/App.vue) (Web shell), [`yogurt-web/src/router/index.js`](https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/router/index.js) (Web router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web frontend"]
  node_web_boot["Web bootstrap<br/>[main.js]"]
  node_web_shell["Web shell<br/>[App.vue]"]
  node_web_router["Web router<br/>[index.js]"]
end

subgraph group_admin["Admin frontend"]
  node_admin_boot["Admin bootstrap<br/>[main.js]"]
  node_admin_shell["Admin shell<br/>[App.vue]"]
  node_admin_router["Admin router<br/>[index.js]"]
  node_admin_styles["Admin styles<br/>[main.css]"]
end

subgraph group_server["Server"]
  node_server_app["Server startup"]
end

node_user(("User"))

node_web_boot -->|"mounts"| node_web_shell
node_web_boot -->|"registers"| node_web_router
node_admin_boot -->|"mounts"| node_admin_shell
node_admin_boot -->|"registers"| node_admin_router
node_admin_boot -->|"imports"| node_admin_styles
node_user -.->|"uses"| node_web_boot
node_user -.->|"uses"| node_admin_boot

click node_web_boot "https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/main.js"
click node_web_shell "https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/App.vue"
click node_web_router "https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/router/index.js"
click node_admin_boot "https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/main.js"
click node_admin_shell "https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/App.vue"
click node_admin_router "https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/router/index.js"
click node_admin_styles "https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/assets/main.css"
click node_server_app "https://github.com/fogsbridge/yogurt/blob/main/yogurt-server/src/main/java/com/fogsbridge/yogurt/server/YogurtServerApplication.java"

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_web_boot,node_web_shell,node_web_router,node_user toneBlue
class node_admin_boot,node_admin_shell,node_admin_router,node_admin_styles toneAmber
class node_server_app toneMint
```

## Components

### Web frontend

- [Web bootstrap](https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/main.js): `yogurt-web/src/main.js`
- [Web shell](https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/App.vue): `yogurt-web/src/App.vue`
- [Web router](https://github.com/fogsbridge/yogurt/blob/main/yogurt-web/src/router/index.js): `yogurt-web/src/router/index.js`

### Admin frontend

- [Admin bootstrap](https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/main.js): `yogurt-admin/src/main.js`
- [Admin shell](https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/App.vue): `yogurt-admin/src/App.vue`
- [Admin router](https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/router/index.js): `yogurt-admin/src/router/index.js`
- [Admin styles](https://github.com/fogsbridge/yogurt/blob/main/yogurt-admin/src/assets/main.css): `yogurt-admin/src/assets/main.css`

### Server

- [Server startup](https://github.com/fogsbridge/yogurt/blob/main/yogurt-server/src/main/java/com/fogsbridge/yogurt/server/YogurtServerApplication.java): `yogurt-server/src/main/java/com/fogsbridge/yogurt/server/YogurtServerApplication.java`

### Other components

- **User**

## Connections

- Web bootstrap → Web shell: mounts (evidence: `yogurt-web/src/main.js`)
- Web bootstrap → Web router: registers (evidence: `yogurt-web/src/main.js`)
- Admin bootstrap → Admin shell: mounts (evidence: `yogurt-admin/src/main.js`)
- Admin bootstrap → Admin router: registers (evidence: `yogurt-admin/src/main.js`)
- Admin bootstrap → Admin styles: imports (evidence: `yogurt-admin/src/main.js`)
- User → Web bootstrap: uses
- User → Admin bootstrap: uses
