# frdndr/project---mvolo architecture

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

- Interactive diagram: https://gitdiagram.com/frdndr/project---mvolo
- Repository: https://github.com/frdndr/project---mvolo

## Overview

Mvolo is a dropshipping analytics warehouse for Bol.com and Shopify. The main flow extracts channel data, loads it into DuckDB or PostgreSQL, models analytics with dbt, and presents results in dashboards; the README also describes scheduled Google Sheets reporting. The repository includes platform-specific browser dashboards backed by DuckDB WASM. The README documents several integrations and layers, but export and orchestration implementations are not present in the supplied tree; those links reflect documentation, not inspected code.

Main entry points: [`visualization/bol-dashboard/dashboard-proper/src/js/app.js`](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/app.js) (Bol dashboard app), [`visualization/shopify-dashboard/dashboard-proper/src/js/app.js`](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/app.js) (Shopify dashboard app), [`visualization/bol-dashboard/dashboard-proper/src/js/utils/formatters.js`](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/utils/formatters.js) (Formatters), [`visualization/shopify-dashboard/dashboard-proper/src/js/utils/formatters.js`](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/utils/formatters.js) (Formatters)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingest["Extract and load"]
  node_bol_extract["Bol extractor<br/>[bol_extractor.py]"]
  node_shopify_extract["Shopify extractor"]
  node_extract_support["Auth and config"]
  node_bol_pipeline["Bol pipeline"]
  node_shopify_pipeline["Shopify pipeline"]
  node_warehouse[("DuckDB warehouse<br/>[duckdb_loader.py]")]
  node_postgres[("PostgreSQL loader<br/>[postgre_loader.py]")]
end

subgraph group_model["Analytics modeling"]
  node_dbt["dbt transformations"]
  node_staging["Staging models"]
  node_marts["Profitability marts"]
end

subgraph group_report["Reporting and orchestration"]
  node_n8n["N8N scheduler"]
  node_sheets["Google Sheets reports"]
  node_metabase["Metabase dashboards"]
end

subgraph group_dashboards["Browser dashboards"]
  node_bol_app["Bol dashboard app<br/>[app.js]"]
  node_bol_service["DuckDB data service<br/>[duckdb-service.js]"]
  node_bol_filters["Filters<br/>[filter-manager.js]"]
  node_bol_kpis["KPI manager<br/>[kpi-manager.js]"]
  node_bol_charts["Chart manager<br/>[chart-manager.js]"]
  node_bol_table["Results table<br/>[table-manager.js]"]
  node_bol_format["Formatters<br/>[formatters.js]"]
  node_shopify_app["Shopify dashboard app<br/>[app.js]"]
  node_shopify_service["DuckDB data service<br/>[duckdb-service.js]"]
  node_shopify_filters["Filters<br/>[filter-manager.js]"]
  node_shopify_kpis["KPI manager<br/>[kpi-manager.js]"]
  node_shopify_charts["Chart manager<br/>[chart-manager.js]"]
  node_shopify_table["Results table<br/>[table-manager.js]"]
  node_shopify_format["Formatters<br/>[formatters.js]"]
end

node_bol_api(("Bol.com API"))
node_shopify_api(("Shopify API"))
node_bol_user(("Bol analyst"))
node_shopify_user(("Shopify analyst"))

node_bol_pipeline -->|"calls"| node_bol_extract
node_bol_pipeline -->|"loads into"| node_warehouse
node_shopify_pipeline -->|"calls"| node_shopify_extract
node_shopify_pipeline -->|"loads into"| node_warehouse
node_bol_extract -->|"uses"| node_extract_support
node_shopify_extract -->|"uses"| node_extract_support
node_bol_extract -.->|"requests data"| node_bol_api
node_shopify_extract -.->|"requests data"| node_shopify_api
node_warehouse -.->|"alternate warehouse"| node_postgres
node_warehouse -.->|"provides raw data"| node_dbt
node_dbt -->|"builds"| node_staging
node_dbt -->|"builds"| node_marts
node_staging -.->|"models"| node_marts
node_n8n -.->|"schedules"| node_bol_pipeline
node_n8n -.->|"schedules"| node_shopify_pipeline
node_n8n -.->|"schedules weekly"| node_sheets
node_marts -.->|"summarizes"| node_sheets
node_marts -.->|"feeds analytics"| node_metabase
node_bol_user -.->|"opens"| node_bol_app
node_bol_app -->|"loads and queries"| node_bol_service
node_bol_app -->|"filters rows"| node_bol_filters
node_bol_app -->|"updates KPIs"| node_bol_kpis
node_bol_app -->|"updates charts"| node_bol_charts
node_bol_app -->|"renders rows"| node_bol_table
node_bol_app -->|"sets status"| node_bol_format
node_bol_charts -->|"formats labels"| node_bol_format
node_bol_kpis -->|"formats values"| node_bol_format
node_bol_filters -->|"formats values"| node_bol_format
node_bol_table -->|"formats values"| node_bol_format
node_shopify_user -.->|"opens"| node_shopify_app
node_shopify_app -->|"loads and queries"| node_shopify_service
node_shopify_app -->|"filters rows"| node_shopify_filters
node_shopify_app -->|"updates KPIs"| node_shopify_kpis
node_shopify_app -->|"updates charts"| node_shopify_charts
node_shopify_app -->|"renders rows"| node_shopify_table
node_shopify_app -->|"sets status"| node_shopify_format
node_shopify_charts -->|"formats labels"| node_shopify_format
node_shopify_kpis -->|"formats values"| node_shopify_format
node_shopify_filters -->|"formats values"| node_shopify_format
node_shopify_table -->|"formats values"| node_shopify_format

click node_bol_extract "https://github.com/frdndr/project---mvolo/blob/main/extract/bol_extractor.py"
click node_shopify_extract "https://github.com/frdndr/project---mvolo/blob/main/extract/shopify_extractor.py"
click node_extract_support "https://github.com/frdndr/project---mvolo/tree/main/extract"
click node_bol_pipeline "https://github.com/frdndr/project---mvolo/blob/main/scripts/run_bol_to_duckdb.py"
click node_shopify_pipeline "https://github.com/frdndr/project---mvolo/blob/main/scripts/run_shopify_to_duckdb.py"
click node_warehouse "https://github.com/frdndr/project---mvolo/blob/main/load/duckdb_loader.py"
click node_postgres "https://github.com/frdndr/project---mvolo/blob/main/load/postgre_loader.py"
click node_dbt "https://github.com/frdndr/project---mvolo/tree/main/transform/models"
click node_staging "https://github.com/frdndr/project---mvolo/tree/main/transform/models/staging"
click node_marts "https://github.com/frdndr/project---mvolo/tree/main/transform/models/marts/analytics"
click node_n8n "https://github.com/frdndr/project---mvolo/tree/main/orchestration"
click node_sheets "https://github.com/frdndr/project---mvolo/tree/main/export"
click node_metabase "https://github.com/frdndr/project---mvolo/tree/main/dashboards"
click node_bol_app "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/app.js"
click node_bol_service "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/services/duckdb-service.js"
click node_bol_filters "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/filter-manager.js"
click node_bol_kpis "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/kpi-manager.js"
click node_bol_charts "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/chart-manager.js"
click node_bol_table "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/table-manager.js"
click node_bol_format "https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/utils/formatters.js"
click node_shopify_app "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/app.js"
click node_shopify_service "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/services/duckdb-service.js"
click node_shopify_filters "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/filter-manager.js"
click node_shopify_kpis "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/kpi-manager.js"
click node_shopify_charts "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/chart-manager.js"
click node_shopify_table "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/table-manager.js"
click node_shopify_format "https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/utils/formatters.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_bol_extract,node_shopify_extract,node_extract_support,node_bol_pipeline,node_shopify_pipeline,node_warehouse,node_postgres toneBlue
class node_dbt,node_staging,node_marts toneAmber
class node_n8n,node_sheets,node_metabase,node_bol_api,node_shopify_api toneMint
class node_bol_app,node_bol_service,node_bol_filters,node_bol_kpis,node_bol_charts,node_bol_table,node_bol_format,node_shopify_app,node_shopify_service,node_shopify_filters,node_shopify_kpis,node_shopify_charts,node_shopify_table,node_shopify_format toneRose
class node_bol_user,node_shopify_user toneIndigo
```

## Components

### Extract and load

- [Bol extractor](https://github.com/frdndr/project---mvolo/blob/main/extract/bol_extractor.py): `extract/bol_extractor.py`
- [Shopify extractor](https://github.com/frdndr/project---mvolo/blob/main/extract/shopify_extractor.py): `extract/shopify_extractor.py`
- [Auth and config](https://github.com/frdndr/project---mvolo/tree/main/extract): `extract`
- [Bol pipeline](https://github.com/frdndr/project---mvolo/blob/main/scripts/run_bol_to_duckdb.py): `scripts/run_bol_to_duckdb.py`
- [Shopify pipeline](https://github.com/frdndr/project---mvolo/blob/main/scripts/run_shopify_to_duckdb.py): `scripts/run_shopify_to_duckdb.py`
- [DuckDB warehouse](https://github.com/frdndr/project---mvolo/blob/main/load/duckdb_loader.py): `load/duckdb_loader.py`
- [PostgreSQL loader](https://github.com/frdndr/project---mvolo/blob/main/load/postgre_loader.py): `load/postgre_loader.py`

### Analytics modeling

- [dbt transformations](https://github.com/frdndr/project---mvolo/tree/main/transform/models): `transform/models`
- [Staging models](https://github.com/frdndr/project---mvolo/tree/main/transform/models/staging): `transform/models/staging`
- [Profitability marts](https://github.com/frdndr/project---mvolo/tree/main/transform/models/marts/analytics): `transform/models/marts/analytics`

### Reporting and orchestration

- [N8N scheduler](https://github.com/frdndr/project---mvolo/tree/main/orchestration): `orchestration`
- [Google Sheets reports](https://github.com/frdndr/project---mvolo/tree/main/export): `export`
- [Metabase dashboards](https://github.com/frdndr/project---mvolo/tree/main/dashboards): `dashboards`

### Browser dashboards

- [Bol dashboard app](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/app.js): `visualization/bol-dashboard/dashboard-proper/src/js/app.js`
- [DuckDB data service](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/services/duckdb-service.js): `visualization/bol-dashboard/dashboard-proper/src/js/services/duckdb-service.js`
- [Filters](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/filter-manager.js): `visualization/bol-dashboard/dashboard-proper/src/js/components/filter-manager.js`
- [KPI manager](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/kpi-manager.js): `visualization/bol-dashboard/dashboard-proper/src/js/components/kpi-manager.js`
- [Chart manager](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/chart-manager.js): `visualization/bol-dashboard/dashboard-proper/src/js/components/chart-manager.js`
- [Results table](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/components/table-manager.js): `visualization/bol-dashboard/dashboard-proper/src/js/components/table-manager.js`
- [Formatters](https://github.com/frdndr/project---mvolo/blob/main/visualization/bol-dashboard/dashboard-proper/src/js/utils/formatters.js): `visualization/bol-dashboard/dashboard-proper/src/js/utils/formatters.js`
- [Shopify dashboard app](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/app.js): `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`
- [DuckDB data service](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/services/duckdb-service.js): `visualization/shopify-dashboard/dashboard-proper/src/js/services/duckdb-service.js`
- [Filters](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/filter-manager.js): `visualization/shopify-dashboard/dashboard-proper/src/js/components/filter-manager.js`
- [KPI manager](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/kpi-manager.js): `visualization/shopify-dashboard/dashboard-proper/src/js/components/kpi-manager.js`
- [Chart manager](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/chart-manager.js): `visualization/shopify-dashboard/dashboard-proper/src/js/components/chart-manager.js`
- [Results table](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/components/table-manager.js): `visualization/shopify-dashboard/dashboard-proper/src/js/components/table-manager.js`
- [Formatters](https://github.com/frdndr/project---mvolo/blob/main/visualization/shopify-dashboard/dashboard-proper/src/js/utils/formatters.js): `visualization/shopify-dashboard/dashboard-proper/src/js/utils/formatters.js`

### Other components

- **Bol.com API**
- **Shopify API**
- **Bol analyst**
- **Shopify analyst**

## Connections

- Bol pipeline → Bol extractor: calls (evidence: `scripts/run_bol_to_duckdb.py`)
- Bol pipeline → DuckDB warehouse: loads into (evidence: `scripts/run_bol_to_duckdb.py`)
- Shopify pipeline → Shopify extractor: calls (evidence: `scripts/run_shopify_to_duckdb.py`)
- Shopify pipeline → DuckDB warehouse: loads into (evidence: `scripts/run_shopify_to_duckdb.py`)
- Bol extractor → Auth and config: uses (evidence: `extract/bol_extractor.py`)
- Shopify extractor → Auth and config: uses (evidence: `extract/shopify_extractor.py`)
- Bol extractor → Bol.com API: requests data (evidence: `README.md`)
- Shopify extractor → Shopify API: requests data (evidence: `README.md`)
- DuckDB warehouse → PostgreSQL loader: alternate warehouse (evidence: `README.md`)
- DuckDB warehouse → dbt transformations: provides raw data (evidence: `README.md`)
- dbt transformations → Staging models: builds (evidence: `README.md`)
- dbt transformations → Profitability marts: builds (evidence: `README.md`)
- Staging models → Profitability marts: models (evidence: `README.md`)
- N8N scheduler → Bol pipeline: schedules (evidence: `README.md`)
- N8N scheduler → Shopify pipeline: schedules (evidence: `README.md`)
- N8N scheduler → Google Sheets reports: schedules weekly (evidence: `README.md`)
- Profitability marts → Google Sheets reports: summarizes (evidence: `README.md`)
- Profitability marts → Metabase dashboards: feeds analytics (evidence: `README.md`)
- Bol analyst → Bol dashboard app: opens
- Bol dashboard app → DuckDB data service: loads and queries (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/app.js`)
- Bol dashboard app → Filters: filters rows (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/app.js`)
- Bol dashboard app → KPI manager: updates KPIs (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/app.js`)
- Bol dashboard app → Chart manager: updates charts (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/app.js`)
- Bol dashboard app → Results table: renders rows (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/app.js`)
- Bol dashboard app → Formatters: sets status (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/app.js`)
- Chart manager → Formatters: formats labels (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/components/chart-manager.js`)
- KPI manager → Formatters: formats values (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/components/kpi-manager.js`)
- Filters → Formatters: formats values (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/components/filter-manager.js`)
- Results table → Formatters: formats values (evidence: `visualization/bol-dashboard/dashboard-proper/src/js/components/table-manager.js`)
- Shopify analyst → Shopify dashboard app: opens
- Shopify dashboard app → DuckDB data service: loads and queries (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`)
- Shopify dashboard app → Filters: filters rows (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`)
- Shopify dashboard app → KPI manager: updates KPIs (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`)
- Shopify dashboard app → Chart manager: updates charts (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`)
- Shopify dashboard app → Results table: renders rows (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`)
- Shopify dashboard app → Formatters: sets status (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/app.js`)
- Chart manager → Formatters: formats labels (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/components/chart-manager.js`)
- KPI manager → Formatters: formats values (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/components/kpi-manager.js`)
- Filters → Formatters: formats values (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/components/filter-manager.js`)
- Results table → Formatters: formats values (evidence: `visualization/shopify-dashboard/dashboard-proper/src/js/components/table-manager.js`)
