# yashwankhade07/itask architecture

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

- Interactive diagram: https://gitdiagram.com/yashwankhade07/itask
- Repository: https://github.com/yashwankhade07/itask

## Overview

iTask is a small React task manager. The user searches tasks, filters by completion, adds tasks, and marks or deletes them; App owns task state and persists it in browser local storage. The UI is split into a search control and a task-list container with individual task rows. The excerpts show the component structure and persistence, but not the callback execution path back to App, so those interactions are not represented as edges.

Main entry points: [`src/App.jsx`](https://github.com/yashwankhade07/itask/blob/main/src/App.jsx) (Task state), [`src/components/TaskContainer.jsx`](https://github.com/yashwankhade07/itask/blob/main/src/components/TaskContainer.jsx) (Task list), [`src/components/SearchBar.jsx`](https://github.com/yashwankhade07/itask/blob/main/src/components/SearchBar.jsx) (Search controls), [`src/components/Task.jsx`](https://github.com/yashwankhade07/itask/blob/main/src/components/Task.jsx) (Task row)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application state"]
  node_app_logic["Task state<br/>[App.jsx]"]
  node_task_storage[("Browser storage")]
end

subgraph group_ui["Task interface"]
  node_search["Search controls<br/>[SearchBar.jsx]"]
  node_list["Task list<br/>[TaskContainer.jsx]"]
  node_task["Task row<br/>[Task.jsx]"]
end

subgraph group_runtime["React runtime"]
  node_entry["React entry<br/>[main.jsx]"]
end

node_user(("User"))

node_entry -->|"renders"| node_app_logic
node_app_logic -->|"renders with props"| node_search
node_app_logic -->|"renders with tasks"| node_list
node_list -->|"renders rows"| node_task
node_app_logic -->|"reads tasks"| node_task_storage
node_app_logic -->|"writes tasks"| node_task_storage
node_user -->|"uses controls"| node_search
node_user -->|"updates task"| node_task

click node_app_logic "https://github.com/yashwankhade07/itask/blob/main/src/App.jsx"
click node_search "https://github.com/yashwankhade07/itask/blob/main/src/components/SearchBar.jsx"
click node_list "https://github.com/yashwankhade07/itask/blob/main/src/components/TaskContainer.jsx"
click node_task "https://github.com/yashwankhade07/itask/blob/main/src/components/Task.jsx"
click node_entry "https://github.com/yashwankhade07/itask/blob/main/src/main.jsx"

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_app_logic,node_task_storage,node_user toneBlue
class node_search,node_list,node_task toneAmber
class node_entry toneMint
```

## Components

### Application state

- [Task state](https://github.com/yashwankhade07/itask/blob/main/src/App.jsx): `src/App.jsx`
- **Browser storage**

### Task interface

- [Search controls](https://github.com/yashwankhade07/itask/blob/main/src/components/SearchBar.jsx): `src/components/SearchBar.jsx`
- [Task list](https://github.com/yashwankhade07/itask/blob/main/src/components/TaskContainer.jsx): `src/components/TaskContainer.jsx`
- [Task row](https://github.com/yashwankhade07/itask/blob/main/src/components/Task.jsx): `src/components/Task.jsx`

### React runtime

- [React entry](https://github.com/yashwankhade07/itask/blob/main/src/main.jsx): `src/main.jsx`

### Other components

- **User**

## Connections

- React entry → Task state: renders (evidence: `src/main.jsx`)
- Task state → Search controls: renders with props (evidence: `src/App.jsx`)
- Task state → Task list: renders with tasks (evidence: `src/App.jsx`)
- Task list → Task row: renders rows (evidence: `src/components/TaskContainer.jsx`)
- Task state → Browser storage: reads tasks (evidence: `src/App.jsx`)
- Task state → Browser storage: writes tasks (evidence: `src/App.jsx`)
- User → Search controls: uses controls (evidence: `src/components/SearchBar.jsx`)
- User → Task row: updates task (evidence: `src/components/Task.jsx`)
