# bhavesh1411-cyber/cafe architecture

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

- Interactive diagram: https://gitdiagram.com/bhavesh1411-cyber/cafe
- Repository: https://github.com/bhavesh1411-cyber/cafe

## Overview

Mist & Mug is a standalone, single-page café prototype. A visitor enters the café, explores drink recommendations and the menu, customizes a coffee, and can add it to a cart before following a simulated order journey; reservations and other discoveries are separate experiences. The README also documents Café Mood radio, browser-local rewards, and a demo admin entry linking to a separate dashboard. The repository provides no source excerpts, so the graph reflects README-documented capabilities and relationships only; implementation details and unshown calls are omitted.

Main entry points: [`index.html`](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html) (Mist & Mug)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cafe["Café experience"]
  node_website["Mist &amp; Mug<br/>[index.html]"]
  node_matcher["Find My Cup<br/>[index.html]"]
  node_admin["Admin demo entry<br/>[index.html]"]
end

subgraph group_journey["Order journey"]
  node_menu["Menu browser<br/>[index.html]"]
  node_custom["Coffee builder<br/>[index.html]"]
  node_cart["Smart cart<br/>[index.html]"]
  node_order["Demo order journey<br/>[index.html]"]
  node_reservation["Reservations<br/>[index.html]"]
end

subgraph group_discoveries["Café discoveries"]
  node_mood["Café Mood<br/>[index.html]"]
  node_radio["Synthesized radio<br/>[index.html]"]
  node_passport["Cloud Passport<br/>[index.html]"]
  node_postcards["Postcard maker<br/>[index.html]"]
  node_bean["Bean Drop game<br/>[index.html]"]
  node_winterline["Winterline<br/>[index.html]"]
end

subgraph group_browser["Browser features"]
  node_localstorage[("Browser localStorage")]
  node_webaudio["Web Audio API"]
end

node_visitor(("Visitor"))
node_dashboard["Separate dashboard"]

node_visitor -->|"visits"| node_website
node_website -->|"offers"| node_matcher
node_website -->|"offers"| node_menu
node_website -->|"offers"| node_custom
node_custom -->|"adds drink"| node_cart
node_menu -->|"adds items"| node_cart
node_cart -->|"places demo order"| node_order
node_website -->|"offers"| node_reservation
node_website -->|"offers"| node_mood
node_mood -->|"includes"| node_radio
node_website -->|"offers"| node_passport
node_website -->|"offers"| node_postcards
node_website -->|"offers"| node_bean
node_website -->|"offers"| node_winterline
node_website -->|"offers"| node_admin
node_admin -->|"links to"| node_dashboard
node_passport -->|"stores progress"| node_localstorage
node_bean -->|"stores rewards"| node_localstorage
node_radio -->|"synthesizes audio"| node_webaudio

click node_website "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_matcher "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_menu "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_custom "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_cart "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_order "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_reservation "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_mood "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_radio "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_passport "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_postcards "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_bean "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_winterline "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"
click node_admin "https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html"

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_website,node_matcher,node_admin toneBlue
class node_menu,node_custom,node_cart,node_order,node_reservation toneAmber
class node_mood,node_radio,node_passport,node_postcards,node_bean,node_winterline toneMint
class node_localstorage,node_webaudio toneRose
class node_visitor,node_dashboard toneIndigo
```

## Components

### Café experience

- [Mist & Mug](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Find My Cup](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Admin demo entry](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`

### Order journey

- [Menu browser](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Coffee builder](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Smart cart](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Demo order journey](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Reservations](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`

### Café discoveries

- [Café Mood](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Synthesized radio](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Cloud Passport](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Postcard maker](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Bean Drop game](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`
- [Winterline](https://github.com/bhavesh1411-cyber/cafe/blob/main/index.html): `index.html`

### Browser features

- **Browser localStorage**
- **Web Audio API**

### Other components

- **Visitor**
- **Separate dashboard**

## Connections

- Visitor → Mist & Mug: visits (evidence: `Readme.md`)
- Mist & Mug → Find My Cup: offers (evidence: `Readme.md`)
- Mist & Mug → Menu browser: offers (evidence: `Readme.md`)
- Mist & Mug → Coffee builder: offers (evidence: `Readme.md`)
- Coffee builder → Smart cart: adds drink (evidence: `Readme.md`)
- Menu browser → Smart cart: adds items (evidence: `Readme.md`)
- Smart cart → Demo order journey: places demo order (evidence: `Readme.md`)
- Mist & Mug → Reservations: offers (evidence: `Readme.md`)
- Mist & Mug → Café Mood: offers (evidence: `Readme.md`)
- Café Mood → Synthesized radio: includes (evidence: `Readme.md`)
- Mist & Mug → Cloud Passport: offers (evidence: `Readme.md`)
- Mist & Mug → Postcard maker: offers (evidence: `Readme.md`)
- Mist & Mug → Bean Drop game: offers (evidence: `Readme.md`)
- Mist & Mug → Winterline: offers (evidence: `Readme.md`)
- Mist & Mug → Admin demo entry: offers (evidence: `Readme.md`)
- Admin demo entry → Separate dashboard: links to (evidence: `Readme.md`)
- Cloud Passport → Browser localStorage: stores progress (evidence: `Readme.md`)
- Bean Drop game → Browser localStorage: stores rewards (evidence: `Readme.md`)
- Synthesized radio → Web Audio API: synthesizes audio (evidence: `Readme.md`)
