# wntech0786/spendly architecture

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

- Interactive diagram: https://gitdiagram.com/wntech0786/spendly
- Repository: https://github.com/wntech0786/spendly

## Overview

This is a starter Flask expense-tracker web app. A visitor can request the landing, registration, or login page; Flask renders the corresponding template. Logout, profile, and expense routes are placeholders, and the database module contains no implementation. Template contents were not sampled, so relationships to shared layouts or static assets are omitted.

Main entry points: [`expense-tracker/app.py`](https://github.com/wntech0786/spendly/blob/main/expense-tracker/app.py) (Flask routes), [`expense-tracker/templates/landing.html`](https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/landing.html) (Landing page), [`expense-tracker/templates/register.html`](https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/register.html) (Registration page), [`expense-tracker/templates/login.html`](https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/login.html) (Login page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web application"]
  node_flask_app["Flask routes<br/>[app.py]"]
  node_landing["Landing page<br/>[landing.html]"]
  node_register["Registration page<br/>[register.html]"]
  node_login["Login page<br/>[login.html]"]
end

node_visitor(("Visitor"))

node_visitor -->|"requests pages"| node_flask_app
node_flask_app -->|"renders"| node_landing
node_flask_app -->|"renders"| node_register
node_flask_app -->|"renders"| node_login

click node_flask_app "https://github.com/wntech0786/spendly/blob/main/expense-tracker/app.py"
click node_landing "https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/landing.html"
click node_register "https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/register.html"
click node_login "https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/login.html"

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_flask_app,node_landing,node_register,node_login toneBlue
class node_visitor toneIndigo
```

## Components

### Web application

- [Flask routes](https://github.com/wntech0786/spendly/blob/main/expense-tracker/app.py): `expense-tracker/app.py`
- [Landing page](https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/landing.html): `expense-tracker/templates/landing.html`
- [Registration page](https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/register.html): `expense-tracker/templates/register.html`
- [Login page](https://github.com/wntech0786/spendly/blob/main/expense-tracker/templates/login.html): `expense-tracker/templates/login.html`

### Other components

- **Visitor**

## Connections

- Visitor → Flask routes: requests pages
- Flask routes → Landing page: renders
- Flask routes → Registration page: renders
- Flask routes → Login page: renders
