# manaswini-d53/findme architecture

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

- Interactive diagram: https://gitdiagram.com/manaswini-d53/findme
- Repository: https://github.com/manaswini-d53/findme

## Overview

Findme2 is a Flask lost-and-found app. Users register and sign in, report lost or found items, browse and filter listings, and mark items resolved; resolution also creates a notification. The sampled code shows route logic, SQLite schema and queries, and rendering for the dashboard and report form. The README is empty, and app.py excerpts are partial, so some template links and unsampled behavior are not represented.

Main entry points: [`findme2/findmedb.db`](https://github.com/manaswini-d53/findme/blob/main/findme2/findmedb.db) (SQLite database), [`findme2/app.py`](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py) (Dashboard listings), [`findme2/templates/dashboard.html`](https://github.com/manaswini-d53/findme/blob/main/findme2/templates/dashboard.html) (Dashboard view), [`findme2/templates/report.html`](https://github.com/manaswini-d53/findme/blob/main/findme2/templates/report.html) (Report form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_accounts["Accounts"]
  node_accounts["Registration and login<br/>[app.py]"]
end

subgraph group_items["Item workflows"]
  node_dashboard["Dashboard listings<br/>[app.py]"]
  node_report["Report item<br/>[app.py]"]
  node_resolve["Resolve item<br/>[app.py]"]
  node_filter["Filter listings<br/>[app.py]"]
  node_notifications["Notifications<br/>[app.py]"]
  node_dashboard_view["Dashboard view<br/>[dashboard.html]"]
  node_report_view["Report form<br/>[report.html]"]
end

subgraph group_data["Persistence"]
  node_sqlite[("SQLite database<br/>[findmedb.db]")]
end

node_user(("User"))

node_user -->|"registers or signs in"| node_accounts
node_user -->|"reports item"| node_report
node_user -->|"views listings"| node_dashboard
node_user -->|"filters listings"| node_filter
node_user -->|"marks resolved"| node_resolve
node_accounts -->|"reads and writes"| node_sqlite
node_dashboard -->|"queries listings"| node_sqlite
node_dashboard -->|"renders"| node_dashboard_view
node_report -->|"writes item and report"| node_sqlite
node_report -->|"renders"| node_report_view
node_filter -->|"queries filtered items"| node_sqlite
node_resolve -->|"deletes resolved item"| node_sqlite
node_resolve -->|"creates notification"| node_notifications
node_notifications -->|"stores and updates status"| node_sqlite

click node_accounts "https://github.com/manaswini-d53/findme/blob/main/findme2/app.py"
click node_dashboard "https://github.com/manaswini-d53/findme/blob/main/findme2/app.py"
click node_report "https://github.com/manaswini-d53/findme/blob/main/findme2/app.py"
click node_resolve "https://github.com/manaswini-d53/findme/blob/main/findme2/app.py"
click node_filter "https://github.com/manaswini-d53/findme/blob/main/findme2/app.py"
click node_notifications "https://github.com/manaswini-d53/findme/blob/main/findme2/app.py"
click node_sqlite "https://github.com/manaswini-d53/findme/blob/main/findme2/findmedb.db"
click node_dashboard_view "https://github.com/manaswini-d53/findme/blob/main/findme2/templates/dashboard.html"
click node_report_view "https://github.com/manaswini-d53/findme/blob/main/findme2/templates/report.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_accounts,node_user toneBlue
class node_dashboard,node_report,node_resolve,node_filter,node_notifications,node_dashboard_view,node_report_view toneAmber
class node_sqlite toneMint
```

## Components

### Accounts

- [Registration and login](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py): `findme2/app.py`

### Item workflows

- [Dashboard listings](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py): `findme2/app.py`
- [Report item](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py): `findme2/app.py`
- [Resolve item](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py): `findme2/app.py`
- [Filter listings](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py): `findme2/app.py`
- [Notifications](https://github.com/manaswini-d53/findme/blob/main/findme2/app.py): `findme2/app.py`
- [Dashboard view](https://github.com/manaswini-d53/findme/blob/main/findme2/templates/dashboard.html): `findme2/templates/dashboard.html`
- [Report form](https://github.com/manaswini-d53/findme/blob/main/findme2/templates/report.html): `findme2/templates/report.html`

### Persistence

- [SQLite database](https://github.com/manaswini-d53/findme/blob/main/findme2/findmedb.db): `findme2/findmedb.db`

### Other components

- **User**

## Connections

- User → Registration and login: registers or signs in (evidence: `findme2/app.py`)
- User → Report item: reports item (evidence: `findme2/app.py`)
- User → Dashboard listings: views listings (evidence: `findme2/app.py`)
- User → Filter listings: filters listings (evidence: `findme2/app.py`)
- User → Resolve item: marks resolved (evidence: `findme2/app.py`)
- Registration and login → SQLite database: reads and writes (evidence: `findme2/app.py`)
- Dashboard listings → SQLite database: queries listings (evidence: `findme2/app.py`)
- Dashboard listings → Dashboard view: renders (evidence: `findme2/app.py`)
- Report item → SQLite database: writes item and report (evidence: `findme2/app.py`)
- Report item → Report form: renders (evidence: `findme2/app.py`)
- Filter listings → SQLite database: queries filtered items (evidence: `findme2/app.py`)
- Resolve item → SQLite database: deletes resolved item (evidence: `findme2/app.py`)
- Resolve item → Notifications: creates notification (evidence: `findme2/app.py`)
- Notifications → SQLite database: stores and updates status (evidence: `findme2/app.py`)
