# burhanarikan/exchange-atlas architecture

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

- Interactive diagram: https://gitdiagram.com/burhanarikan/exchange-atlas
- Repository: https://github.com/burhanarikan/exchange-atlas

## Overview

Exchange Atlas is a static Erasmus agreement catalogue. A student opens the hosted site, selects a university, searches and filters normalized agreement records, and receives paginated cards showing partner, country, field, level, quota, language and source freshness. A maintenance workflow downloads public university spreadsheets, applies university-specific parsing and documented normalization, then writes JSON assets consumed entirely in the browser. The sampled code confirms client-side loading, filtering, bilingual rendering and guide selection; some HTML wiring and parser branches were not sampled.

Main entry points: [`site/app.js`](https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js) (Agreement search), [`scripts/build_data.py`](https://github.com/burhanarikan/exchange-atlas/blob/main/scripts/build_data.py) (Data builder), [`site/veri.js`](https://github.com/burhanarikan/exchange-atlas/blob/main/site/veri.js) (JSON loader), [`site/guide.js`](https://github.com/burhanarikan/exchange-atlas/blob/main/site/guide.js) (Application guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Browser experience"]
  node_home_ui["University catalogue<br/>[home.js]"]
  node_agreement_ui["Agreement search<br/>[app.js]"]
  node_json_loader["JSON loader<br/>[veri.js]"]
  node_agreement_cards["Agreement results<br/>[app.js]"]
  node_language_state["Language preference<br/>[app.js]"]
end

subgraph group_data["Agreement data"]
  node_university_registry["University registry<br/>[universities.json]"]
  node_agreement_datasets["Agreement datasets"]
  node_source_metadata["Source metadata"]
end

subgraph group_guidance["Guidance and trust"]
  node_guide_ui["Application guide<br/>[guide.js]"]
  node_guide_content["Guide content<br/>[guide.html]"]
  node_source_transparency["Source explanations<br/>[app.js]"]
end

subgraph group_maintenance["Data maintenance"]
  node_university_config["University configuration<br/>[universities.json]"]
  node_data_builder["Data builder<br/>[build_data.py]"]
  node_feedback_copy["Feedback workbook"]
end

node_student(("Student"))
node_institution(("University staff"))
node_public_lists["Public university lists"]
node_static_host["Static hosting"]

node_student -->|"opens site"| node_static_host
node_static_host -->|"serves page"| node_home_ui
node_static_host -->|"serves page"| node_agreement_ui
node_static_host -->|"serves page"| node_guide_ui
node_home_ui -->|"loads registry"| node_json_loader
node_json_loader -->|"fetches JSON"| node_university_registry
node_student -->|"searches agreements"| node_agreement_ui
node_agreement_ui -->|"loads data"| node_json_loader
node_json_loader -->|"fetches records"| node_agreement_datasets
node_agreement_ui -->|"renders results"| node_agreement_cards
node_agreement_ui -->|"stores language"| node_language_state
node_guide_ui -->|"loads registry"| node_json_loader
node_guide_ui -->|"renders guide"| node_guide_content
node_agreement_ui -->|"shows freshness"| node_source_transparency
node_source_transparency -->|"reads source data"| node_source_metadata
node_university_config -->|"configures parsers"| node_data_builder
node_public_lists -->|"downloads sheets"| node_data_builder
node_data_builder -->|"writes JSON"| node_agreement_datasets
node_data_builder -->|"writes registry"| node_university_registry
node_data_builder -->|"writes metadata"| node_source_metadata
node_institution -.->|"receives corrections"| node_feedback_copy
node_feedback_copy -->|"reads normalized data"| node_agreement_datasets
node_feedback_copy -->|"reads source workbook"| node_public_lists

click node_home_ui "https://github.com/burhanarikan/exchange-atlas/blob/main/site/home.js"
click node_agreement_ui "https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js"
click node_json_loader "https://github.com/burhanarikan/exchange-atlas/blob/main/site/veri.js"
click node_agreement_cards "https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js"
click node_language_state "https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js"
click node_university_registry "https://github.com/burhanarikan/exchange-atlas/blob/main/site/universities.json"
click node_agreement_datasets "https://github.com/burhanarikan/exchange-atlas/tree/main/site"
click node_source_metadata "https://github.com/burhanarikan/exchange-atlas/blob/main/site/kaynak-kunyesi.json"
click node_guide_ui "https://github.com/burhanarikan/exchange-atlas/blob/main/site/guide.js"
click node_guide_content "https://github.com/burhanarikan/exchange-atlas/blob/main/site/guide.html"
click node_source_transparency "https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js"
click node_university_config "https://github.com/burhanarikan/exchange-atlas/blob/main/config/universities.json"
click node_data_builder "https://github.com/burhanarikan/exchange-atlas/blob/main/scripts/build_data.py"
click node_feedback_copy "https://github.com/burhanarikan/exchange-atlas/blob/main/scripts/kuruma_geri_bildirim.py"

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_ui,node_agreement_ui,node_json_loader,node_agreement_cards,node_language_state toneBlue
class node_university_registry,node_agreement_datasets,node_source_metadata toneAmber
class node_guide_ui,node_guide_content,node_source_transparency toneMint
class node_university_config,node_data_builder,node_feedback_copy toneRose
class node_student,node_institution,node_public_lists,node_static_host toneIndigo
```

## Components

### Browser experience

- [University catalogue](https://github.com/burhanarikan/exchange-atlas/blob/main/site/home.js): `site/home.js`
- [Agreement search](https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js): `site/app.js`
- [JSON loader](https://github.com/burhanarikan/exchange-atlas/blob/main/site/veri.js): `site/veri.js`
- [Agreement results](https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js): `site/app.js`
- [Language preference](https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js): `site/app.js`

### Agreement data

- [University registry](https://github.com/burhanarikan/exchange-atlas/blob/main/site/universities.json): `site/universities.json`
- [Agreement datasets](https://github.com/burhanarikan/exchange-atlas/tree/main/site): `site`
- [Source metadata](https://github.com/burhanarikan/exchange-atlas/blob/main/site/kaynak-kunyesi.json): `site/kaynak-kunyesi.json`

### Guidance and trust

- [Application guide](https://github.com/burhanarikan/exchange-atlas/blob/main/site/guide.js): `site/guide.js`
- [Guide content](https://github.com/burhanarikan/exchange-atlas/blob/main/site/guide.html): `site/guide.html`
- [Source explanations](https://github.com/burhanarikan/exchange-atlas/blob/main/site/app.js): `site/app.js`

### Data maintenance

- [University configuration](https://github.com/burhanarikan/exchange-atlas/blob/main/config/universities.json): `config/universities.json`
- [Data builder](https://github.com/burhanarikan/exchange-atlas/blob/main/scripts/build_data.py): `scripts/build_data.py`
- [Feedback workbook](https://github.com/burhanarikan/exchange-atlas/blob/main/scripts/kuruma_geri_bildirim.py): `scripts/kuruma_geri_bildirim.py`

### Other components

- **Student**
- **University staff**
- **Public university lists**
- **Static hosting**

## Connections

- Student → Static hosting: opens site
- Static hosting → University catalogue: serves page
- Static hosting → Agreement search: serves page
- Static hosting → Application guide: serves page
- University catalogue → JSON loader: loads registry
- JSON loader → University registry: fetches JSON
- Student → Agreement search: searches agreements
- Agreement search → JSON loader: loads data
- JSON loader → Agreement datasets: fetches records
- Agreement search → Agreement results: renders results
- Agreement search → Language preference: stores language
- Application guide → JSON loader: loads registry
- Application guide → Guide content: renders guide
- Agreement search → Source explanations: shows freshness
- Source explanations → Source metadata: reads source data
- University configuration → Data builder: configures parsers
- Public university lists → Data builder: downloads sheets
- Data builder → Agreement datasets: writes JSON
- Data builder → University registry: writes registry
- Data builder → Source metadata: writes metadata
- University staff → Feedback workbook: receives corrections
- Feedback workbook → Agreement datasets: reads normalized data
- Feedback workbook → Public university lists: reads source workbook
