# molugusaikumar/tasktraker-pro architecture

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

- Interactive diagram: https://gitdiagram.com/molugusaikumar/tasktraker-pro
- Repository: https://github.com/molugusaikumar/tasktraker-pro

## Overview

This is a React task manager. The browser renders the app, where users can add tasks with priorities, search tasks, and delete them; the app loads and saves task state in localStorage. TaskInput and TaskList call callbacks supplied by App, which owns task state and filtering. The graph also includes the entry-point performance reporter; index.js calls it without a callback, so it does not collect metrics in this invocation. Evidence is based on the supplied excerpts and README.

Main entry points: [`src/App.js`](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/App.js) (Task app state), [`src/components/TaskInput.js`](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskInput.js) (Task input), [`src/components/TaskSearch.js`](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskSearch.js) (Task search), [`src/components/TaskList.js`](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskList.js) (Task list)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["App entry"]
  node_entrypoint["React entry<br/>[index.js]"]
end

subgraph group_tasks["Task management"]
  node_app["Task app state<br/>[App.js]"]
  node_task_input["Task input<br/>[TaskInput.js]"]
  node_task_search["Task search<br/>[TaskSearch.js]"]
  node_task_list["Task list<br/>[TaskList.js]"]
end

subgraph group_browser["Browser state and metrics"]
  node_local_storage[("localStorage")]
  node_vitals_reporter["Vitals reporter<br/>[reportWebVitals.js]"]
end

node_user(("User"))
node_web_vitals["web-vitals"]

node_entrypoint -->|"renders"| node_app
node_app -->|"renders"| node_task_input
node_app -->|"renders"| node_task_search
node_app -->|"renders"| node_task_list
node_user -->|"enters tasks"| node_task_input
node_task_input -->|"calls addTask"| node_app
node_user -->|"enters query"| node_task_search
node_task_search -->|"updates search"| node_app
node_user -->|"deletes task"| node_task_list
node_task_list -->|"calls deleteTask"| node_app
node_app -->|"loads and saves"| node_local_storage
node_entrypoint -->|"calls"| node_vitals_reporter
node_vitals_reporter -->|"loads metrics"| node_web_vitals

click node_entrypoint "https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/index.js"
click node_app "https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/App.js"
click node_task_input "https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskInput.js"
click node_task_search "https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskSearch.js"
click node_task_list "https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskList.js"
click node_vitals_reporter "https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/reportWebVitals.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_entrypoint,node_user toneBlue
class node_app,node_task_input,node_task_search,node_task_list toneAmber
class node_local_storage,node_vitals_reporter toneMint
class node_web_vitals toneIndigo
```

## Components

### App entry

- [React entry](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/index.js): `src/index.js`

### Task management

- [Task app state](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/App.js): `src/App.js`
- [Task input](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskInput.js): `src/components/TaskInput.js`
- [Task search](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskSearch.js): `src/components/TaskSearch.js`
- [Task list](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/components/TaskList.js): `src/components/TaskList.js`

### Browser state and metrics

- **localStorage**
- [Vitals reporter](https://github.com/molugusaikumar/tasktraker-pro/blob/master/src/reportWebVitals.js): `src/reportWebVitals.js`

### Other components

- **User**
- **web-vitals**

## Connections

- React entry → Task app state: renders (evidence: `src/index.js`)
- Task app state → Task input: renders (evidence: `src/App.js`)
- Task app state → Task search: renders (evidence: `src/App.js`)
- Task app state → Task list: renders (evidence: `src/App.js`)
- User → Task input: enters tasks (evidence: `src/components/TaskInput.js`)
- Task input → Task app state: calls addTask (evidence: `src/components/TaskInput.js`)
- User → Task search: enters query (evidence: `src/components/TaskSearch.js`)
- Task search → Task app state: updates search (evidence: `src/components/TaskSearch.js`)
- User → Task list: deletes task (evidence: `src/components/TaskList.js`)
- Task list → Task app state: calls deleteTask (evidence: `src/components/TaskList.js`)
- Task app state → localStorage: loads and saves (evidence: `src/App.js`)
- React entry → Vitals reporter: calls (evidence: `src/index.js`)
- Vitals reporter → web-vitals: loads metrics (evidence: `src/reportWebVitals.js`)
