# missionadak/finaxis architecture

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

- Interactive diagram: https://gitdiagram.com/missionadak/finaxis
- Repository: https://github.com/missionadak/finaxis

## Overview

FinAxis is a Flask and SQLite personal/business finance platform. Users register or sign in, manage financial records and budgets, then review dashboards, reports, and planning tools. The sampled code shows the Flask app initializing the ORM and querying financial models; the README documents the main reporting, security, and reset capabilities. The application is a large monolith, so several domain components share app.py. Unsampled route implementations are represented only where documented, and their links cite the README.

Main entry points: [`app.py`](https://github.com/missionadak/finaxis/blob/main/app.py) (Accounts and Access), [`models.py`](https://github.com/missionadak/finaxis/blob/main/models.py) (Finance Models), [`templates`](https://github.com/missionadak/finaxis/tree/main/templates) (Web Templates)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and Security"]
  node_auth["Accounts and Access<br/>[app.py]"]
  node_reset["Password Reset<br/>[app.py]"]
  node_profile["Profile Settings<br/>[app.py]"]
end

subgraph group_records["Financial Records"]
  node_transactions["Income and Expenses<br/>[app.py]"]
  node_budgets["Budget Tracking<br/>[app.py]"]
  node_investment["Investment Portfolio<br/>[app.py]"]
  node_goals["Savings Goals<br/>[app.py]"]
  node_notifications["Notifications<br/>[app.py]"]
end

subgraph group_analysis["Analytics and Planning"]
  node_dashboard["Financial Dashboard<br/>[app.py]"]
  node_reports["Reports and Insights<br/>[app.py]"]
  node_comparison["Period Comparison<br/>[app.py]"]
end

subgraph group_platform["Application and Data"]
  node_views["Web Templates"]
  node_models["Finance Models<br/>[models.py]"]
  node_database[("SQLite Database")]
end

node_visitor(("User"))

node_visitor -->|"uses"| node_views
node_views -.->|"submits forms"| node_auth
node_visitor -->|"registers or signs in"| node_auth
node_auth -->|"requests reset"| node_reset
node_auth -.->|"updates profile"| node_profile
node_auth -.->|"manages records"| node_transactions
node_transactions -.->|"informs spending"| node_budgets
node_visitor -->|"sets spending caps"| node_budgets
node_visitor -.->|"manages holdings"| node_investment
node_visitor -.->|"tracks goals"| node_goals
node_visitor -.->|"views alerts"| node_notifications
node_visitor -->|"reviews finances"| node_dashboard
node_dashboard -->|"presents telemetry"| node_reports
node_visitor -.->|"compares periods"| node_comparison
node_dashboard -.->|"renders pages"| node_views
node_auth -->|"uses ORM"| node_models
node_transactions -->|"queries records"| node_models
node_budgets -->|"queries budgets"| node_models
node_investment -.->|"stores holdings"| node_models
node_models -.->|"persists data"| node_database
node_auth -->|"configures SQLite"| node_database

click node_auth "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_reset "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_profile "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_transactions "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_budgets "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_investment "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_goals "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_notifications "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_dashboard "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_reports "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_comparison "https://github.com/missionadak/finaxis/blob/main/app.py"
click node_views "https://github.com/missionadak/finaxis/tree/main/templates"
click node_models "https://github.com/missionadak/finaxis/blob/main/models.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_auth,node_reset,node_profile,node_visitor toneBlue
class node_transactions,node_budgets,node_investment,node_goals,node_notifications toneAmber
class node_dashboard,node_reports,node_comparison toneMint
class node_views,node_models,node_database toneRose
```

## Components

### Access and Security

- [Accounts and Access](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Password Reset](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Profile Settings](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`

### Financial Records

- [Income and Expenses](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Budget Tracking](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Investment Portfolio](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Savings Goals](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Notifications](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`

### Analytics and Planning

- [Financial Dashboard](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Reports and Insights](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`
- [Period Comparison](https://github.com/missionadak/finaxis/blob/main/app.py): `app.py`

### Application and Data

- [Web Templates](https://github.com/missionadak/finaxis/tree/main/templates): `templates`
- [Finance Models](https://github.com/missionadak/finaxis/blob/main/models.py): `models.py`
- **SQLite Database**

### Other components

- **User**

## Connections

- User → Web Templates: uses (evidence: `README.md`)
- Web Templates → Accounts and Access: submits forms
- User → Accounts and Access: registers or signs in (evidence: `README.md`)
- Accounts and Access → Password Reset: requests reset (evidence: `README.md`)
- Accounts and Access → Profile Settings: updates profile (evidence: `app.py`)
- Accounts and Access → Income and Expenses: manages records (evidence: `app.py`)
- Income and Expenses → Budget Tracking: informs spending (evidence: `app.py`)
- User → Budget Tracking: sets spending caps (evidence: `README.md`)
- User → Investment Portfolio: manages holdings
- User → Savings Goals: tracks goals
- User → Notifications: views alerts
- User → Financial Dashboard: reviews finances (evidence: `README.md`)
- Financial Dashboard → Reports and Insights: presents telemetry (evidence: `README.md`)
- User → Period Comparison: compares periods
- Financial Dashboard → Web Templates: renders pages
- Accounts and Access → Finance Models: uses ORM (evidence: `app.py`)
- Income and Expenses → Finance Models: queries records (evidence: `app.py`)
- Budget Tracking → Finance Models: queries budgets (evidence: `app.py`)
- Investment Portfolio → Finance Models: stores holdings (evidence: `app.py`)
- Finance Models → SQLite Database: persists data
- Accounts and Access → SQLite Database: configures SQLite (evidence: `app.py`)
