# vjtmkhrj33-web/aerchain-quote-desk architecture

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

- Interactive diagram: https://gitdiagram.com/vjtmkhrj33-web/aerchain-quote-desk
- Repository: https://github.com/vjtmkhrj33-web/aerchain-quote-desk

## Overview

Aerchain Quote Desk is a frontend procurement workspace for a corrugated-packaging RFx. A buyer can author and dispatch tender requirements, inspect vendor submissions, compare normalized quotes, review supplier qualification, and explore award scenarios before verifying values or exporting results. The React app coordinates these views; static RFx and vendor datasets feed the comparison and analysis features. The excerpts show a local demo with embedded data, not a connected dispatch, OCR, or persistence backend. Some component internals were not sampled, so only documented or indexed relationships are drawn.

Main entry points: [`src/App.jsx`](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/App.jsx) (Workspace app), [`src/data/vendorData.js`](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/vendorData.js) (Vendor quotes and answers), [`src/data/rfxData.js`](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/rfxData.js) (RFx requirements), [`src/components/AnalystChat.jsx`](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/AnalystChat.jsx) (Analyst chat)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_entry["React entry<br/>[main.jsx]"]
  node_app["Workspace app<br/>[App.jsx]"]
  node_nav["Navigation<br/>[Navbar.jsx]"]
end

subgraph group_tender["Tender and vendors"]
  node_rfx["RFx copilot<br/>[RfxCopilot.jsx]"]
  node_submissions["Vendor submissions"]
  node_qualification["Qualification matrix"]
end

subgraph group_analysis["Analysis and review"]
  node_comparison["Quote comparison<br/>[ComparisonGrid.jsx]"]
  node_analyst["Analyst chat<br/>[AnalystChat.jsx]"]
  node_inspector["Cell inspector"]
  node_memo["Product memo<br/>[ProductMemo.jsx]"]
end

subgraph group_data["Procurement data"]
  node_engine["Scenario engine<br/>[analystEngine.js]"]
  node_rfxdata[("RFx requirements<br/>[rfxData.js]")]
  node_vendordata[("Vendor quotes and answers<br/>[vendorData.js]")]
end

node_buyer(("Buyer"))

node_buyer -->|"opens"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"renders"| node_nav
node_app -->|"renders"| node_rfx
node_app -->|"renders"| node_submissions
node_app -->|"renders"| node_qualification
node_app -->|"renders"| node_comparison
node_app -->|"renders"| node_analyst
node_app -->|"renders"| node_inspector
node_app -->|"renders"| node_memo
node_app -->|"calculates scenarios"| node_engine
node_app -->|"extracts quotes"| node_vendordata
node_rfx -->|"reads requirements"| node_rfxdata
node_submissions -->|"shows submissions"| node_vendordata
node_qualification -->|"reads questions"| node_rfxdata
node_qualification -->|"reads answers"| node_vendordata
node_comparison -->|"reads line items"| node_rfxdata
node_comparison -->|"extracts quotes"| node_vendordata
node_analyst -->|"requests analysis"| node_engine
node_analyst -->|"reads line items"| node_rfxdata
node_analyst -->|"reads vendors"| node_vendordata
node_engine -->|"uses line items"| node_rfxdata
node_engine -->|"normalizes quotes"| node_vendordata

click node_entry "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/main.jsx"
click node_app "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/App.jsx"
click node_nav "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/Navbar.jsx"
click node_rfx "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/RfxCopilot.jsx"
click node_submissions "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/RawVendorSubmissions.jsx"
click node_qualification "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/QuestionnaireMatrix.jsx"
click node_comparison "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/ComparisonGrid.jsx"
click node_analyst "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/AnalystChat.jsx"
click node_inspector "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/CellInspectorModal.jsx"
click node_memo "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/ProductMemo.jsx"
click node_engine "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/analystEngine.js"
click node_rfxdata "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/rfxData.js"
click node_vendordata "https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/vendorData.js"

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_entry,node_app,node_nav toneBlue
class node_rfx,node_submissions,node_qualification toneAmber
class node_comparison,node_analyst,node_inspector,node_memo toneMint
class node_engine,node_rfxdata,node_vendordata toneRose
class node_buyer toneIndigo
```

## Components

### Application shell

- [React entry](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/main.jsx): `src/main.jsx`
- [Workspace app](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/Navbar.jsx): `src/components/Navbar.jsx`

### Tender and vendors

- [RFx copilot](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/RfxCopilot.jsx): `src/components/RfxCopilot.jsx`
- [Vendor submissions](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/RawVendorSubmissions.jsx): `src/components/RawVendorSubmissions.jsx`
- [Qualification matrix](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/QuestionnaireMatrix.jsx): `src/components/QuestionnaireMatrix.jsx`

### Analysis and review

- [Quote comparison](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/ComparisonGrid.jsx): `src/components/ComparisonGrid.jsx`
- [Analyst chat](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/AnalystChat.jsx): `src/components/AnalystChat.jsx`
- [Cell inspector](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/CellInspectorModal.jsx): `src/components/CellInspectorModal.jsx`
- [Product memo](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/components/ProductMemo.jsx): `src/components/ProductMemo.jsx`

### Procurement data

- [Scenario engine](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/analystEngine.js): `src/data/analystEngine.js`
- [RFx requirements](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/rfxData.js): `src/data/rfxData.js`
- [Vendor quotes and answers](https://github.com/vjtmkhrj33-web/aerchain-quote-desk/blob/master/src/data/vendorData.js): `src/data/vendorData.js`

### Other components

- **Buyer**

## Connections

- Buyer → React entry: opens (evidence: `src/main.jsx`)
- React entry → Workspace app: renders (evidence: `src/main.jsx`)
- Workspace app → Navigation: renders (evidence: `src/App.jsx`)
- Workspace app → RFx copilot: renders (evidence: `src/App.jsx`)
- Workspace app → Vendor submissions: renders (evidence: `src/App.jsx`)
- Workspace app → Qualification matrix: renders (evidence: `src/App.jsx`)
- Workspace app → Quote comparison: renders (evidence: `src/App.jsx`)
- Workspace app → Analyst chat: renders (evidence: `src/App.jsx`)
- Workspace app → Cell inspector: renders (evidence: `src/App.jsx`)
- Workspace app → Product memo: renders (evidence: `src/App.jsx`)
- Workspace app → Scenario engine: calculates scenarios (evidence: `src/App.jsx`)
- Workspace app → Vendor quotes and answers: extracts quotes (evidence: `src/App.jsx`)
- RFx copilot → RFx requirements: reads requirements (evidence: `src/components/RfxCopilot.jsx`)
- Vendor submissions → Vendor quotes and answers: shows submissions (evidence: `src/components/RawVendorSubmissions.jsx`)
- Qualification matrix → RFx requirements: reads questions (evidence: `src/components/QuestionnaireMatrix.jsx`)
- Qualification matrix → Vendor quotes and answers: reads answers (evidence: `src/components/QuestionnaireMatrix.jsx`)
- Quote comparison → RFx requirements: reads line items (evidence: `src/components/ComparisonGrid.jsx`)
- Quote comparison → Vendor quotes and answers: extracts quotes (evidence: `src/components/ComparisonGrid.jsx`)
- Analyst chat → Scenario engine: requests analysis (evidence: `src/components/AnalystChat.jsx`)
- Analyst chat → RFx requirements: reads line items (evidence: `src/components/AnalystChat.jsx`)
- Analyst chat → Vendor quotes and answers: reads vendors (evidence: `src/components/AnalystChat.jsx`)
- Scenario engine → RFx requirements: uses line items (evidence: `src/data/analystEngine.js`)
- Scenario engine → Vendor quotes and answers: normalizes quotes (evidence: `src/data/analystEngine.js`)
