# goliasse/alpha-bank architecture

> Architecture diagram of the GitHub repository goliasse/alpha-bank, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/goliasse/alpha-bank
- Repository: https://github.com/goliasse/alpha-bank

## Overview

alpha-bank is a small AngularJS banking-dashboard UI prototype. Its visible workflow loads the root dashboard route, then supplies dashboard and sidebar/table display data through controllers; the sampled controllers use static in-memory values, with no demonstrated backend or persistent banking operations. Source coverage is limited to the README and indexed excerpts, so the view-to-controller wiring and unsampled view content are not asserted.

Main entry points: [`app/scripts/app.js`](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/app.js) (Angular app and route), [`app/scripts/controllers/main.js`](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/main.js) (Main controller)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_boot["Application routing"]
  node_app["Angular app and route<br/>[app.js]"]
end

subgraph group_dashboard["Dashboard display"]
  node_main["Main controller<br/>[main.js]"]
  node_sidebar["Sidebar links<br/>[sidebar.js]"]
  node_table1["Table 1 data<br/>[table1.js]"]
  node_table2["Table 2 data<br/>[table2.js]"]
end

node_visitor(("Dashboard visitor"))

node_visitor -->|"opens dashboard"| node_app
node_app -->|"routes to"| node_main

click node_app "https://github.com/goliasse/alpha-bank/blob/master/app/scripts/app.js"
click node_main "https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/main.js"
click node_sidebar "https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/sidebar.js"
click node_table1 "https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/table1.js"
click node_table2 "https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/table2.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 toneBlue
class node_main,node_sidebar,node_table1,node_table2 toneAmber
class node_visitor toneIndigo
```

## Components

### Application routing

- [Angular app and route](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/app.js): `app/scripts/app.js`

### Dashboard display

- [Main controller](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/main.js): `app/scripts/controllers/main.js`
- [Sidebar links](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/sidebar.js): `app/scripts/controllers/sidebar.js`
- [Table 1 data](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/table1.js): `app/scripts/controllers/table1.js`
- [Table 2 data](https://github.com/goliasse/alpha-bank/blob/master/app/scripts/controllers/table2.js): `app/scripts/controllers/table2.js`

### Other components

- **Dashboard visitor**

## Connections

- Dashboard visitor → Angular app and route: opens dashboard (evidence: `app/scripts/app.js`)
- Angular app and route → Main controller: routes to (evidence: `app/scripts/app.js`)
