# lomocsojaymar-cmyk/dfa-dawg architecture

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

- Interactive diagram: https://gitdiagram.com/lomocsojaymar-cmyk/dfa-dawg
- Repository: https://github.com/lomocsojaymar-cmyk/dfa-dawg

## Overview

This repository contains two independently deployable products: a browser-based passport appointment prototype and a screenshot-comparison gallery. The prototype guides users through requirements, office selection, sample booking, appointment management, and help; its data and interactions remain illustrative, with no real submission or payment. The gallery presents before/after screenshots and source notes. The README documents the main capabilities, while excerpts show the prototype’s shared app/data modules and each site’s static-file server; unsampled interaction details are not inferred.

Main entry points: [`vercel-websites/passport-app/public/app.js`](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js) (Prototype interface), [`vercel-websites/passport-gallery/public/index.html`](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/public/index.html) (Comparison gallery), [`vercel-websites/passport-app/public/data.js`](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/data.js) (Reference content), [`vercel-websites/passport-gallery/public/before`](https://github.com/lomocsojaymar-cmyk/dfa-dawg/tree/main/vercel-websites/passport-gallery/public/before) (Original screenshots)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_prototype["Interactive prototype"]
  node_app_server["Prototype server<br/>[server.mjs]"]
  node_app_ui["Prototype interface<br/>[app.js]"]
  node_requirements["Requirements guide<br/>[app.js]"]
  node_office_search["Office search<br/>[app.js]"]
  node_booking["Sample booking<br/>[app.js]"]
  node_management["Appointment management<br/>[app.js]"]
  node_fees["Fees guide<br/>[app.js]"]
  node_help["Help center<br/>[app.js]"]
end

subgraph group_content["Prototype content"]
  node_prototype_data["Reference content<br/>[data.js]"]
end

subgraph group_gallery["Comparison gallery"]
  node_gallery_server["Gallery server<br/>[server.mjs]"]
  node_gallery_ui["Comparison gallery<br/>[index.html]"]
  node_original_images["Original screenshots"]
  node_prototype_images["Prototype screenshots"]
  node_gallery_notes["Source notes<br/>[sources.html]"]
end

node_visitor(("Website visitor"))

node_visitor -->|"uses"| node_app_ui
node_app_ui -->|"provides"| node_requirements
node_app_ui -->|"provides"| node_office_search
node_app_ui -->|"provides"| node_booking
node_app_ui -->|"provides"| node_management
node_app_ui -->|"provides"| node_fees
node_app_ui -->|"provides"| node_help
node_app_ui -->|"reads"| node_prototype_data
node_visitor -->|"uses"| node_gallery_ui
node_gallery_ui -->|"compares"| node_original_images
node_gallery_ui -->|"compares"| node_prototype_images
node_gallery_ui -->|"includes"| node_gallery_notes

click node_app_server "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/server.mjs"
click node_app_ui "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_requirements "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_office_search "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_booking "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_management "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_fees "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_help "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js"
click node_prototype_data "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/data.js"
click node_gallery_server "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/server.mjs"
click node_gallery_ui "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/public/index.html"
click node_original_images "https://github.com/lomocsojaymar-cmyk/dfa-dawg/tree/main/vercel-websites/passport-gallery/public/before"
click node_prototype_images "https://github.com/lomocsojaymar-cmyk/dfa-dawg/tree/main/vercel-websites/passport-gallery/public/after"
click node_gallery_notes "https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/public/sources.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_app_server,node_app_ui,node_requirements,node_office_search,node_booking,node_management,node_fees,node_help toneBlue
class node_prototype_data toneAmber
class node_gallery_server,node_gallery_ui,node_original_images,node_prototype_images,node_gallery_notes toneMint
class node_visitor toneIndigo
```

## Components

### Interactive prototype

- [Prototype server](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/server.mjs): `vercel-websites/passport-app/server.mjs`
- [Prototype interface](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`
- [Requirements guide](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`
- [Office search](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`
- [Sample booking](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`
- [Appointment management](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`
- [Fees guide](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`
- [Help center](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/app.js): `vercel-websites/passport-app/public/app.js`

### Prototype content

- [Reference content](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-app/public/data.js): `vercel-websites/passport-app/public/data.js`

### Comparison gallery

- [Gallery server](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/server.mjs): `vercel-websites/passport-gallery/server.mjs`
- [Comparison gallery](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/public/index.html): `vercel-websites/passport-gallery/public/index.html`
- [Original screenshots](https://github.com/lomocsojaymar-cmyk/dfa-dawg/tree/main/vercel-websites/passport-gallery/public/before): `vercel-websites/passport-gallery/public/before`
- [Prototype screenshots](https://github.com/lomocsojaymar-cmyk/dfa-dawg/tree/main/vercel-websites/passport-gallery/public/after): `vercel-websites/passport-gallery/public/after`
- [Source notes](https://github.com/lomocsojaymar-cmyk/dfa-dawg/blob/main/vercel-websites/passport-gallery/public/sources.html): `vercel-websites/passport-gallery/public/sources.html`

### Other components

- **Website visitor**

## Connections

- Website visitor → Prototype interface: uses (evidence: `README.md`)
- Prototype interface → Requirements guide: provides (evidence: `README.md`)
- Prototype interface → Office search: provides (evidence: `README.md`)
- Prototype interface → Sample booking: provides (evidence: `README.md`)
- Prototype interface → Appointment management: provides (evidence: `README.md`)
- Prototype interface → Fees guide: provides (evidence: `README.md`)
- Prototype interface → Help center: provides (evidence: `README.md`)
- Prototype interface → Reference content: reads (evidence: `vercel-websites/passport-app/public/app.js`)
- Website visitor → Comparison gallery: uses (evidence: `README.md`)
- Comparison gallery → Original screenshots: compares (evidence: `README.md`)
- Comparison gallery → Prototype screenshots: compares (evidence: `README.md`)
- Comparison gallery → Source notes: includes (evidence: `README.md`)
