# faizincwds/neo-importer architecture

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

- Interactive diagram: https://gitdiagram.com/faizincwds/neo-importer
- Repository: https://github.com/faizincwds/neo-importer

## Overview

Neo Feeder Importer System is a browser-based application for importing spreadsheet data into Neo Feeder. The documented workflow is to authenticate with a Neo Feeder token, upload Excel/CSV data, use automatic mapping, and send data to the API; the app also provides reference-data lookup, API monitoring, and activity logs. The README documents these capabilities but provides no source excerpts, so edges reflect only those documented relationships; module-level calls and ordering beyond the stated workflow are not verified.

Main entry points: [`assets/js/importProcess.js`](https://github.com/faizincwds/neo-importer/blob/master/assets/js/importProcess.js) (Import processing), [`index.html`](https://github.com/faizincwds/neo-importer/blob/master/index.html) (Web application), [`assets/js/dashboard.js`](https://github.com/faizincwds/neo-importer/blob/master/assets/js/dashboard.js) (Dashboard), [`assets/js/auth.js`](https://github.com/faizincwds/neo-importer/blob/master/assets/js/auth.js) (Token authentication)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["User interface"]
  node_app["Web application<br/>[index.html]"]
  node_views["View management<br/>[viewManager.js]"]
  node_dashboard["Dashboard<br/>[dashboard.js]"]
end

subgraph group_import["Import workflow"]
  node_importer["Import processing<br/>[importProcess.js]"]
  node_mapping["Auto mapping<br/>[mappingEngine.js]"]
  node_validation["Data validation<br/>[validator.js]"]
  node_grid["Import grid editor<br/>[gridEditor.js]"]
  node_xlsx["Spreadsheet processing<br/>[importProcess.js]"]
end

subgraph group_integration["Neo Feeder integration"]
  node_auth["Token authentication<br/>[auth.js]"]
  node_api["API client<br/>[api.js]"]
  node_references["Reference data<br/>[referensi.js]"]
end

subgraph group_support["Application support"]
  node_config["Application configuration<br/>[config.js]"]
  node_logger["Activity logging<br/>[logger.js]"]
  node_localstorage[("Browser local storage")]
end

node_user(("Application user"))
node_feeder{{"Neo Feeder API"}}

node_user -->|"uses"| node_app
node_user -->|"authenticates"| node_auth
node_user -->|"uploads data"| node_importer
node_importer -->|"auto-maps"| node_mapping
node_importer -->|"imports data"| node_feeder
node_user -->|"monitors status"| node_dashboard
node_user -->|"loads references"| node_references
node_user -->|"reviews activity"| node_logger
node_dashboard -->|"monitors API"| node_feeder
node_auth -->|"uses token"| node_feeder
node_app -->|"stores temporary data"| node_localstorage
node_user -.->|"edits import data"| node_grid
node_importer -.->|"validates data"| node_validation
node_importer -.->|"processes spreadsheets"| node_xlsx

click node_app "https://github.com/faizincwds/neo-importer/blob/master/index.html"
click node_views "https://github.com/faizincwds/neo-importer/blob/master/assets/js/viewManager.js"
click node_dashboard "https://github.com/faizincwds/neo-importer/blob/master/assets/js/dashboard.js"
click node_auth "https://github.com/faizincwds/neo-importer/blob/master/assets/js/auth.js"
click node_importer "https://github.com/faizincwds/neo-importer/blob/master/assets/js/importProcess.js"
click node_mapping "https://github.com/faizincwds/neo-importer/blob/master/assets/js/mappingEngine.js"
click node_validation "https://github.com/faizincwds/neo-importer/blob/master/assets/js/validator.js"
click node_grid "https://github.com/faizincwds/neo-importer/blob/master/assets/js/gridEditor.js"
click node_api "https://github.com/faizincwds/neo-importer/blob/master/assets/js/api.js"
click node_references "https://github.com/faizincwds/neo-importer/blob/master/assets/js/referensi.js"
click node_config "https://github.com/faizincwds/neo-importer/blob/master/assets/js/config.js"
click node_logger "https://github.com/faizincwds/neo-importer/blob/master/assets/js/logger.js"
click node_xlsx "https://github.com/faizincwds/neo-importer/blob/master/assets/js/importProcess.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_app,node_views,node_dashboard,node_user toneBlue
class node_importer,node_mapping,node_validation,node_grid,node_xlsx toneAmber
class node_auth,node_api,node_references,node_feeder toneMint
class node_config,node_logger,node_localstorage toneRose
```

## Components

### User interface

- [Web application](https://github.com/faizincwds/neo-importer/blob/master/index.html): `index.html`
- [View management](https://github.com/faizincwds/neo-importer/blob/master/assets/js/viewManager.js): `assets/js/viewManager.js`
- [Dashboard](https://github.com/faizincwds/neo-importer/blob/master/assets/js/dashboard.js): `assets/js/dashboard.js`

### Import workflow

- [Import processing](https://github.com/faizincwds/neo-importer/blob/master/assets/js/importProcess.js): `assets/js/importProcess.js`
- [Auto mapping](https://github.com/faizincwds/neo-importer/blob/master/assets/js/mappingEngine.js): `assets/js/mappingEngine.js`
- [Data validation](https://github.com/faizincwds/neo-importer/blob/master/assets/js/validator.js): `assets/js/validator.js`
- [Import grid editor](https://github.com/faizincwds/neo-importer/blob/master/assets/js/gridEditor.js): `assets/js/gridEditor.js`
- [Spreadsheet processing](https://github.com/faizincwds/neo-importer/blob/master/assets/js/importProcess.js): `assets/js/importProcess.js`

### Neo Feeder integration

- [Token authentication](https://github.com/faizincwds/neo-importer/blob/master/assets/js/auth.js): `assets/js/auth.js`
- [API client](https://github.com/faizincwds/neo-importer/blob/master/assets/js/api.js): `assets/js/api.js`
- [Reference data](https://github.com/faizincwds/neo-importer/blob/master/assets/js/referensi.js): `assets/js/referensi.js`

### Application support

- [Application configuration](https://github.com/faizincwds/neo-importer/blob/master/assets/js/config.js): `assets/js/config.js`
- [Activity logging](https://github.com/faizincwds/neo-importer/blob/master/assets/js/logger.js): `assets/js/logger.js`
- **Browser local storage**

### Other components

- **Application user**
- **Neo Feeder API**

## Connections

- Application user → Web application: uses (evidence: `README.md`)
- Application user → Token authentication: authenticates (evidence: `README.md`)
- Application user → Import processing: uploads data (evidence: `README.md`)
- Import processing → Auto mapping: auto-maps (evidence: `README.md`)
- Import processing → Neo Feeder API: imports data (evidence: `README.md`)
- Application user → Dashboard: monitors status (evidence: `README.md`)
- Application user → Reference data: loads references (evidence: `README.md`)
- Application user → Activity logging: reviews activity (evidence: `README.md`)
- Dashboard → Neo Feeder API: monitors API (evidence: `README.md`)
- Token authentication → Neo Feeder API: uses token (evidence: `README.md`)
- Web application → Browser local storage: stores temporary data (evidence: `README.md`)
- Application user → Import grid editor: edits import data
- Import processing → Data validation: validates data
- Import processing → Spreadsheet processing: processes spreadsheets
