# 2025cspalakkumarie-gif/student-task-manager architecture

> Architecture diagram of the GitHub repository 2025cspalakkumarie-gif/student-task-manager, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/2025cspalakkumarie-gif/student-task-manager
- Repository: https://github.com/2025cspalakkumarie-gif/student-task-manager

## Overview

Student Task Manager is a browser-based study and task app backed by a Flask task API and SQLite. The main workflow is to manage tasks in the frontend, which fetches and changes them through the API; Flask reads and writes the task database. The frontend also contains dashboard, calendar, notes, reporting, account, and theme functionality. A separate local study assistant answers queries about study data, and the README documents browser-local note attachments and speech-to-text dictation. Some frontend internals were omitted from the excerpts, so uncertain links are not shown.

Main entry points: [`script.js`](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js) (Task manager), [`chatbot.js`](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/chatbot.js) (Study assistant), [`app.py`](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/app.py) (Task API), [`tasks.db`](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/tasks.db) (Tasks database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Browser app"]
  node_task_app["Task manager<br/>[script.js]"]
  node_planning["Dashboard and calendar<br/>[script.js]"]
  node_notes["Notes and attachments<br/>[script.js]"]
  node_reports["Reports and settings<br/>[script.js]"]
end

subgraph group_assistant["Study assistant"]
  node_assistant_app["Study assistant<br/>[chatbot.js]"]
end

subgraph group_backend["Task service"]
  node_task_api["Task API<br/>[app.py]"]
end

subgraph group_state["Data storage"]
  node_task_db[("Tasks database<br/>[tasks.db]")]
  node_browser_storage[("Browser localStorage")]
end

node_student(("Student"))
node_speech["Browser speech recognition"]

node_student -->|"manages tasks"| node_task_app
node_task_app -->|"fetches and updates"| node_task_api
node_task_api -->|"reads and writes"| node_task_db
node_student -->|"asks questions"| node_assistant_app
node_assistant_app -->|"dictates input"| node_speech
node_notes -->|"stores attachments"| node_browser_storage

click node_task_app "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js"
click node_planning "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js"
click node_notes "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js"
click node_reports "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js"
click node_assistant_app "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/chatbot.js"
click node_task_api "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/app.py"
click node_task_db "https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/tasks.db"

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_task_app,node_planning,node_notes,node_reports,node_speech toneBlue
class node_assistant_app toneAmber
class node_task_api toneMint
class node_task_db,node_browser_storage toneRose
class node_student toneIndigo
```

## Components

### Browser app

- [Task manager](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js): `script.js`
- [Dashboard and calendar](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js): `script.js`
- [Notes and attachments](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js): `script.js`
- [Reports and settings](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/script.js): `script.js`

### Study assistant

- [Study assistant](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/chatbot.js): `chatbot.js`

### Task service

- [Task API](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/app.py): `app.py`

### Data storage

- [Tasks database](https://github.com/2025cspalakkumarie-gif/student-task-manager/blob/main/tasks.db): `tasks.db`
- **Browser localStorage**

### Other components

- **Student**
- **Browser speech recognition**

## Connections

- Student → Task manager: manages tasks (evidence: `script.js`)
- Task manager → Task API: fetches and updates (evidence: `script.js`)
- Task API → Tasks database: reads and writes (evidence: `app.py`)
- Student → Study assistant: asks questions (evidence: `chatbot.js`)
- Study assistant → Browser speech recognition: dictates input (evidence: `README.md`)
- Notes and attachments → Browser localStorage: stores attachments (evidence: `README.md`)
