# peaz6/reminisce architecture

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

- Interactive diagram: https://gitdiagram.com/peaz6/reminisce
- Repository: https://github.com/peaz6/reminisce

## Overview

Reminisce is a Burmese food and culture website with static pages and a local account system. Visitors enter through the home page and can browse food, tutorial, about, and purchase-related pages; the available evidence does not establish the pages’ navigation links or a completed purchase flow. For authentication, the browser client requests the Express API, which validates credentials and manages sessions in SQLite using the schema in db.sql. The graph reflects sampled server and auth code; page behavior beyond filenames and server static hosting is not verified.

Main entry points: [`server.js`](https://github.com/peaz6/reminisce/blob/main/server.js) (Express server), [`index.html`](https://github.com/peaz6/reminisce/blob/main/index.html) (Home page), [`Food/Food.html`](https://github.com/peaz6/reminisce/blob/main/Food/Food.html) (Food pages), [`Food/Tutorial.html`](https://github.com/peaz6/reminisce/blob/main/Food/Tutorial.html) (Tutorial)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website content"]
  node_home["Home page<br/>[index.html]"]
  node_food["Food pages<br/>[Food.html]"]
  node_tutorial["Tutorial<br/>[Tutorial.html]"]
  node_about["About us<br/>[AboutUs.html]"]
  node_buy["Buy page<br/>[Buy.html]"]
  node_checkout["Checkout<br/>[Checkout.html]"]
end

subgraph group_accounts["Account experience"]
  node_login["Login page<br/>[login.html]"]
  node_authclient["Auth client<br/>[auth.js]"]
end

subgraph group_runtime["Local runtime"]
  node_server["Express server<br/>[server.js]"]
  node_authapi["Auth API<br/>[server.js]"]
  node_schema["SQLite schema<br/>[db.sql]"]
  node_accountsdb[("Account store")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"visits"| node_food
node_visitor -->|"visits"| node_tutorial
node_visitor -->|"visits"| node_about
node_visitor -->|"visits"| node_buy
node_visitor -->|"visits"| node_checkout
node_visitor -->|"opens"| node_login
node_server -->|"serves static"| node_home
node_server -->|"serves static"| node_food
node_server -->|"serves static"| node_tutorial
node_server -->|"serves static"| node_about
node_server -->|"serves static"| node_buy
node_server -->|"serves static"| node_checkout
node_server -->|"serves static"| node_login
node_authclient -->|"requests"| node_authapi
node_server -->|"routes"| node_authapi
node_server -->|"loads schema"| node_schema
node_server -->|"reads and writes"| node_accountsdb

click node_home "https://github.com/peaz6/reminisce/blob/main/index.html"
click node_food "https://github.com/peaz6/reminisce/blob/main/Food/Food.html"
click node_tutorial "https://github.com/peaz6/reminisce/blob/main/Food/Tutorial.html"
click node_about "https://github.com/peaz6/reminisce/blob/main/Food/AboutUs.html"
click node_buy "https://github.com/peaz6/reminisce/blob/main/Food/Buy.html"
click node_checkout "https://github.com/peaz6/reminisce/blob/main/Food/Checkout.html"
click node_login "https://github.com/peaz6/reminisce/blob/main/login.html"
click node_authclient "https://github.com/peaz6/reminisce/blob/main/js/auth.js"
click node_server "https://github.com/peaz6/reminisce/blob/main/server.js"
click node_authapi "https://github.com/peaz6/reminisce/blob/main/server.js"
click node_schema "https://github.com/peaz6/reminisce/blob/main/db.sql"

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_home,node_food,node_tutorial,node_about,node_buy,node_checkout toneBlue
class node_login,node_authclient toneAmber
class node_server,node_authapi,node_schema,node_accountsdb toneMint
class node_visitor toneIndigo
```

## Components

### Website content

- [Home page](https://github.com/peaz6/reminisce/blob/main/index.html): `index.html`
- [Food pages](https://github.com/peaz6/reminisce/blob/main/Food/Food.html): `Food/Food.html`
- [Tutorial](https://github.com/peaz6/reminisce/blob/main/Food/Tutorial.html): `Food/Tutorial.html`
- [About us](https://github.com/peaz6/reminisce/blob/main/Food/AboutUs.html): `Food/AboutUs.html`
- [Buy page](https://github.com/peaz6/reminisce/blob/main/Food/Buy.html): `Food/Buy.html`
- [Checkout](https://github.com/peaz6/reminisce/blob/main/Food/Checkout.html): `Food/Checkout.html`

### Account experience

- [Login page](https://github.com/peaz6/reminisce/blob/main/login.html): `login.html`
- [Auth client](https://github.com/peaz6/reminisce/blob/main/js/auth.js): `js/auth.js`

### Local runtime

- [Express server](https://github.com/peaz6/reminisce/blob/main/server.js): `server.js`
- [Auth API](https://github.com/peaz6/reminisce/blob/main/server.js): `server.js`
- [SQLite schema](https://github.com/peaz6/reminisce/blob/main/db.sql): `db.sql`
- **Account store**

### Other components

- **Visitor**

## Connections

- Visitor → Home page: opens
- Visitor → Food pages: visits
- Visitor → Tutorial: visits
- Visitor → About us: visits
- Visitor → Buy page: visits
- Visitor → Checkout: visits
- Visitor → Login page: opens
- Express server → Home page: serves static (evidence: `server.js`)
- Express server → Food pages: serves static (evidence: `server.js`)
- Express server → Tutorial: serves static (evidence: `server.js`)
- Express server → About us: serves static (evidence: `server.js`)
- Express server → Buy page: serves static (evidence: `server.js`)
- Express server → Checkout: serves static (evidence: `server.js`)
- Express server → Login page: serves static (evidence: `server.js`)
- Auth client → Auth API: requests (evidence: `js/auth.js`)
- Express server → Auth API: routes (evidence: `server.js`)
- Express server → SQLite schema: loads schema (evidence: `server.js`)
- Express server → Account store: reads and writes (evidence: `server.js`)
