# gar-b-age/cooklikehoc architecture

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

- Interactive diagram: https://gitdiagram.com/gar-b-age/cooklikehoc
- Repository: https://github.com/gar-b-age/cooklikehoc

## Overview

CookLikeHOC is a community-maintained Chinese recipe and dish-reference site, not a restaurant system. The user-facing workflow is to visit the published site and browse its collected dish information, organized in the repository by menu category. The README confirms the site is online and that the reported dishes have been entered. The available source excerpt covers only package metadata, so site rendering and navigation wiring are not verified; those relationships are shown as unverified rather than asserted.

Main entry points: [`主食`](https://github.com/gar-b-age/cooklikehoc/tree/main/%E4%B8%BB%E9%A3%9F) (Dish Records), [`炒菜`](https://github.com/gar-b-age/cooklikehoc/tree/main/%E7%82%92%E8%8F%9C) (Sides & Snacks), [`汤`](https://github.com/gar-b-age/cooklikehoc/tree/main/%E6%B1%A4) (Soups & Stews), [`早餐`](https://github.com/gar-b-age/cooklikehoc/tree/main/%E6%97%A9%E9%A4%90) (Breakfast)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Dish Catalog"]
  node_recipes["Dish Records"]
  node_sides["Sides &amp; Snacks"]
  node_soups["Soups &amp; Stews"]
  node_breakfast["Breakfast"]
  node_otherdishes["Other Dishes"]
  node_condiments["Condiments"]
  node_drinks["Drinks"]
  node_dishcontent["Dish Content"]
end

subgraph group_site["Web Experience"]
  node_siteconfig["Site Configuration<br/>[config.mjs]"]
  node_siteui["VitePress Theme<br/>[index.ts]"]
  node_site["Published Website"]
end

subgraph group_ops["Site Hosting"]
  node_docker["Docker Deployment"]
end

node_visitor(("Site Visitor"))

node_visitor -->|"visits"| node_site
node_recipes -.->|"provides content"| node_site
node_sides -.->|"provides content"| node_site
node_soups -.->|"provides content"| node_site
node_breakfast -.->|"provides content"| node_site
node_otherdishes -.->|"provides content"| node_site
node_condiments -.->|"provides content"| node_site
node_drinks -.->|"provides content"| node_site
node_dishcontent -.->|"provides content"| node_site
node_siteconfig -.->|"configures"| node_site
node_siteui -.->|"renders"| node_site
node_docker -.->|"hosts"| node_site

click node_recipes "https://github.com/gar-b-age/cooklikehoc/tree/main/%E4%B8%BB%E9%A3%9F"
click node_sides "https://github.com/gar-b-age/cooklikehoc/tree/main/%E7%82%92%E8%8F%9C"
click node_soups "https://github.com/gar-b-age/cooklikehoc/tree/main/%E6%B1%A4"
click node_breakfast "https://github.com/gar-b-age/cooklikehoc/tree/main/%E6%97%A9%E9%A4%90"
click node_otherdishes "https://github.com/gar-b-age/cooklikehoc/tree/main/%E5%87%89%E6%8B%8C"
click node_condiments "https://github.com/gar-b-age/cooklikehoc/tree/main/%E9%85%8D%E6%96%99"
click node_drinks "https://github.com/gar-b-age/cooklikehoc/tree/main/%E9%A5%AE%E5%93%81"
click node_dishcontent "https://github.com/gar-b-age/cooklikehoc/tree/main/%E8%92%B8%E8%8F%9C"
click node_siteconfig "https://github.com/gar-b-age/cooklikehoc/blob/main/.vitepress/config.mjs"
click node_siteui "https://github.com/gar-b-age/cooklikehoc/blob/main/.vitepress/theme/index.ts"
click node_docker "https://github.com/gar-b-age/cooklikehoc/tree/main/docker_support"

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_recipes,node_sides,node_soups,node_breakfast,node_otherdishes,node_condiments,node_drinks,node_dishcontent toneBlue
class node_siteconfig,node_siteui,node_site toneAmber
class node_docker toneMint
class node_visitor toneIndigo
```

## Components

### Dish Catalog

- [Dish Records](https://github.com/gar-b-age/cooklikehoc/tree/main/%E4%B8%BB%E9%A3%9F): `主食`
- [Sides & Snacks](https://github.com/gar-b-age/cooklikehoc/tree/main/%E7%82%92%E8%8F%9C): `炒菜`
- [Soups & Stews](https://github.com/gar-b-age/cooklikehoc/tree/main/%E6%B1%A4): `汤`
- [Breakfast](https://github.com/gar-b-age/cooklikehoc/tree/main/%E6%97%A9%E9%A4%90): `早餐`
- [Other Dishes](https://github.com/gar-b-age/cooklikehoc/tree/main/%E5%87%89%E6%8B%8C): `凉拌`
- [Condiments](https://github.com/gar-b-age/cooklikehoc/tree/main/%E9%85%8D%E6%96%99): `配料`
- [Drinks](https://github.com/gar-b-age/cooklikehoc/tree/main/%E9%A5%AE%E5%93%81): `饮品`
- [Dish Content](https://github.com/gar-b-age/cooklikehoc/tree/main/%E8%92%B8%E8%8F%9C): `蒸菜`

### Web Experience

- [Site Configuration](https://github.com/gar-b-age/cooklikehoc/blob/main/.vitepress/config.mjs): `.vitepress/config.mjs`
- [VitePress Theme](https://github.com/gar-b-age/cooklikehoc/blob/main/.vitepress/theme/index.ts): `.vitepress/theme/index.ts`
- **Published Website**

### Site Hosting

- [Docker Deployment](https://github.com/gar-b-age/cooklikehoc/tree/main/docker_support): `docker_support`

### Other components

- **Site Visitor**

## Connections

- Site Visitor → Published Website: visits (evidence: `README.md`)
- Dish Records → Published Website: provides content
- Sides & Snacks → Published Website: provides content
- Soups & Stews → Published Website: provides content
- Breakfast → Published Website: provides content
- Other Dishes → Published Website: provides content
- Condiments → Published Website: provides content
- Drinks → Published Website: provides content
- Dish Content → Published Website: provides content
- Site Configuration → Published Website: configures
- VitePress Theme → Published Website: renders
- Docker Deployment → Published Website: hosts
