# piyush-eon/react-typescript-taskify architecture

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

- Interactive diagram: https://gitdiagram.com/piyush-eon/react-typescript-taskify
- Repository: https://github.com/piyush-eon/react-typescript-taskify

## Overview

Taskify is a small React task manager. The browser entry renders the app, which coordinates task entry, active and completed task state, and drag-and-drop between the two lists. Users can edit, delete, and toggle completion on individual tasks. The graph focuses on runtime components and the shared task type; the README describes Create React App tooling, not additional product capabilities. Relationships are based on the provided source excerpts and SOURCE INDEX.

Main entry points: [`src/App.tsx`](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/App.tsx) (Task coordinator), [`src/components/TodoList.tsx`](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/TodoList.tsx) (Active and completed lists), [`src/models/models.ts`](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/models/models.ts) (Task model), [`src/index.tsx`](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/index.tsx) (React entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Application entry"]
  node_browser(("Browser root"))
  node_entrypoint["React entry<br/>[index.tsx]"]
end

subgraph group_tasks["Task workflow"]
  node_app["Task coordinator<br/>[App.tsx]"]
  node_input["Task input<br/>[InputField.tsx]"]
  node_lists["Active and completed lists<br/>[TodoList.tsx]"]
  node_item["Task item actions<br/>[SingleTodo.tsx]"]
end

subgraph group_domain["Task domain"]
  node_todo["Task model<br/>[models.ts]"]
end

node_browser -.->|"loads"| node_entrypoint
node_entrypoint -->|"renders"| node_app
node_app -->|"renders"| node_input
node_app -->|"renders"| node_lists
node_app -->|"types state"| node_todo
node_lists -->|"renders"| node_item
node_lists -->|"types props"| node_todo
node_item -->|"types task"| node_todo

click node_entrypoint "https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/index.tsx"
click node_app "https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/App.tsx"
click node_input "https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/InputField.tsx"
click node_lists "https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/TodoList.tsx"
click node_item "https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/SingleTodo.tsx"
click node_todo "https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/models/models.ts"

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_browser,node_entrypoint toneBlue
class node_app,node_input,node_lists,node_item toneAmber
class node_todo toneMint
```

## Components

### Application entry

- **Browser root**
- [React entry](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/index.tsx): `src/index.tsx`

### Task workflow

- [Task coordinator](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/App.tsx): `src/App.tsx`
- [Task input](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/InputField.tsx): `src/components/InputField.tsx`
- [Active and completed lists](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/TodoList.tsx): `src/components/TodoList.tsx`
- [Task item actions](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/components/SingleTodo.tsx): `src/components/SingleTodo.tsx`

### Task domain

- [Task model](https://github.com/piyush-eon/react-typescript-taskify/blob/master/src/models/models.ts): `src/models/models.ts`

## Connections

- Browser root → React entry: loads
- React entry → Task coordinator: renders (evidence: `src/index.tsx`)
- Task coordinator → Task input: renders (evidence: `src/App.tsx`)
- Task coordinator → Active and completed lists: renders (evidence: `src/App.tsx`)
- Task coordinator → Task model: types state (evidence: `src/App.tsx`)
- Active and completed lists → Task item actions: renders (evidence: `src/components/TodoList.tsx`)
- Active and completed lists → Task model: types props (evidence: `src/components/TodoList.tsx`)
- Task item actions → Task model: types task (evidence: `src/components/SingleTodo.tsx`)
