# abyss37/elixor-connect architecture

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

- Interactive diagram: https://gitdiagram.com/abyss37/elixor-connect
- Repository: https://github.com/abyss37/elixor-connect

## Overview

ElixOR Connect is an authenticated Flask finance-management application. Users enter through a public landing page or login, then manage companies, products, budgets, and outgoing invoices; the app also provides invoice PDF generation, analytics, notifications, audit history, user administration, and issuer-organization settings. The README places routes, authentication, SQLAlchemy models, and application behavior in app.py, with Jinja templates and page-specific JavaScript. Source excerpts confirm notification synchronization and audit-log creation in app.py, but do not expose most route-to-page or persistence details; those links are therefore not inferred.

Main entry points: [`app.py`](https://github.com/abyss37/elixor-connect/blob/main/app.py) (Flask app and models), [`templates/index.html`](https://github.com/abyss37/elixor-connect/blob/main/templates/index.html) (Dashboard), [`templates/landing.html`](https://github.com/abyss37/elixor-connect/blob/main/templates/landing.html) (Landing and login), [`static/js/companies.js`](https://github.com/abyss37/elixor-connect/blob/main/static/js/companies.js) (Companies)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Access and overview"]
  node_landing["Landing and login<br/>[landing.html]"]
  node_dashboard["Dashboard<br/>[index.html]"]
  node_dashboard_ui["Dashboard overview<br/>[index.js]"]
  node_app["Flask app and models<br/>[app.py]"]
end

subgraph group_finance["Financial records"]
  node_companies["Companies<br/>[companies.js]"]
  node_products["Products<br/>[products.js]"]
  node_budgets["Budgets<br/>[budgets.js]"]
  node_invoices["Invoices and payments<br/>[invoices.js]"]
  node_generator["Invoice PDF generator<br/>[generator.js]"]
end

subgraph group_insight["Insights and oversight"]
  node_analytics["Financial analytics<br/>[analytics.js]"]
  node_notifications["Notifications<br/>[notifications.js]"]
  node_audit["Audit history<br/>[audit.js]"]
end

subgraph group_admin["Administration and documents"]
  node_users["User roles<br/>[users.js]"]
  node_organization["Issuer settings<br/>[our_company.js]"]
end

node_visitor(("Guest or user"))
node_database[("PostgreSQL database")]

node_visitor -->|"visits"| node_landing
node_visitor -->|"authenticated access"| node_dashboard
node_landing -->|"served by"| node_app
node_dashboard -->|"served by"| node_app
node_app -->|"uses SQLAlchemy"| node_database
node_dashboard -->|"renders overview with"| node_dashboard_ui
node_companies -.->|"uses finance features"| node_app
node_products -.->|"uses finance features"| node_app
node_budgets -.->|"uses finance features"| node_app
node_invoices -.->|"uses finance features"| node_app
node_generator -.->|"uses issuer details"| node_app
node_analytics -.->|"uses finance data"| node_app
node_app -.->|"synchronizes alerts"| node_notifications
node_app -.->|"records actions"| node_audit
node_users -.->|"uses account features"| node_app
node_organization -.->|"configures issuer"| node_app

click node_landing "https://github.com/abyss37/elixor-connect/blob/main/templates/landing.html"
click node_dashboard "https://github.com/abyss37/elixor-connect/blob/main/templates/index.html"
click node_dashboard_ui "https://github.com/abyss37/elixor-connect/blob/main/static/js/index.js"
click node_app "https://github.com/abyss37/elixor-connect/blob/main/app.py"
click node_companies "https://github.com/abyss37/elixor-connect/blob/main/static/js/companies.js"
click node_products "https://github.com/abyss37/elixor-connect/blob/main/static/js/products.js"
click node_budgets "https://github.com/abyss37/elixor-connect/blob/main/static/js/budgets.js"
click node_invoices "https://github.com/abyss37/elixor-connect/blob/main/static/js/invoices.js"
click node_generator "https://github.com/abyss37/elixor-connect/blob/main/static/js/generator.js"
click node_analytics "https://github.com/abyss37/elixor-connect/blob/main/static/js/analytics.js"
click node_notifications "https://github.com/abyss37/elixor-connect/blob/main/static/js/notifications.js"
click node_audit "https://github.com/abyss37/elixor-connect/blob/main/static/js/audit.js"
click node_users "https://github.com/abyss37/elixor-connect/blob/main/static/js/users.js"
click node_organization "https://github.com/abyss37/elixor-connect/blob/main/static/js/our_company.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_landing,node_dashboard,node_dashboard_ui,node_app,node_visitor toneBlue
class node_companies,node_products,node_budgets,node_invoices,node_generator,node_database toneAmber
class node_analytics,node_notifications,node_audit toneMint
class node_users,node_organization toneRose
```

## Components

### Access and overview

- [Landing and login](https://github.com/abyss37/elixor-connect/blob/main/templates/landing.html): `templates/landing.html`
- [Dashboard](https://github.com/abyss37/elixor-connect/blob/main/templates/index.html): `templates/index.html`
- [Dashboard overview](https://github.com/abyss37/elixor-connect/blob/main/static/js/index.js): `static/js/index.js`
- [Flask app and models](https://github.com/abyss37/elixor-connect/blob/main/app.py): `app.py`

### Financial records

- [Companies](https://github.com/abyss37/elixor-connect/blob/main/static/js/companies.js): `static/js/companies.js`
- [Products](https://github.com/abyss37/elixor-connect/blob/main/static/js/products.js): `static/js/products.js`
- [Budgets](https://github.com/abyss37/elixor-connect/blob/main/static/js/budgets.js): `static/js/budgets.js`
- [Invoices and payments](https://github.com/abyss37/elixor-connect/blob/main/static/js/invoices.js): `static/js/invoices.js`
- [Invoice PDF generator](https://github.com/abyss37/elixor-connect/blob/main/static/js/generator.js): `static/js/generator.js`

### Insights and oversight

- [Financial analytics](https://github.com/abyss37/elixor-connect/blob/main/static/js/analytics.js): `static/js/analytics.js`
- [Notifications](https://github.com/abyss37/elixor-connect/blob/main/static/js/notifications.js): `static/js/notifications.js`
- [Audit history](https://github.com/abyss37/elixor-connect/blob/main/static/js/audit.js): `static/js/audit.js`

### Administration and documents

- [User roles](https://github.com/abyss37/elixor-connect/blob/main/static/js/users.js): `static/js/users.js`
- [Issuer settings](https://github.com/abyss37/elixor-connect/blob/main/static/js/our_company.js): `static/js/our_company.js`

### Other components

- **Guest or user**
- **PostgreSQL database**

## Connections

- Guest or user → Landing and login: visits (evidence: `README.md`)
- Guest or user → Dashboard: authenticated access (evidence: `README.md`)
- Landing and login → Flask app and models: served by (evidence: `README.md`)
- Dashboard → Flask app and models: served by (evidence: `README.md`)
- Flask app and models → PostgreSQL database: uses SQLAlchemy (evidence: `README.md`)
- Dashboard → Dashboard overview: renders overview with (evidence: `README.md`)
- Companies → Flask app and models: uses finance features
- Products → Flask app and models: uses finance features
- Budgets → Flask app and models: uses finance features
- Invoices and payments → Flask app and models: uses finance features
- Invoice PDF generator → Flask app and models: uses issuer details
- Financial analytics → Flask app and models: uses finance data
- Flask app and models → Notifications: synchronizes alerts
- Flask app and models → Audit history: records actions
- User roles → Flask app and models: uses account features
- Issuer settings → Flask app and models: configures issuer
