# must-zeus0036/taskmanagerapi architecture

> Architecture diagram of the GitHub repository must-zeus0036/taskmanagerapi, 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/must-zeus0036/taskmanagerapi
- Repository: https://github.com/must-zeus0036/taskmanagerapi

## Overview

This is a small ASP.NET Core REST API for managing tasks. Clients call the four `/tasks` endpoints to list, create, update, or delete task items. `Program.cs` maps those requests and handles the operations against a process-local list; `TaskItem.cs` defines the task data shape. Swagger is enabled in development. The source shows no persistent database, so task state is in memory and is lost when the process stops. The map is based on the sampled source and README capabilities.

Main entry points: [`Program.cs`](https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs) (Task endpoints), [`TaskItem.cs`](https://github.com/must-zeus0036/taskmanagerapi/blob/master/TaskItem.cs) (Task item model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Task API"]
  node_endpoints["Task endpoints<br/>[Program.cs]"]
  node_task_model["Task item model<br/>[TaskItem.cs]"]
  node_swagger["Swagger UI<br/>[Program.cs]"]
end

subgraph group_runtime["Task Runtime"]
  node_task_store[("In-memory task list<br/>[Program.cs]")]
end

node_client(("API client"))

node_client -->|"requests tasks"| node_endpoints
node_endpoints -->|"binds task data"| node_task_model
node_endpoints -->|"reads and mutates"| node_task_store
node_client -->|"tests API"| node_swagger

click node_endpoints "https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs"
click node_task_model "https://github.com/must-zeus0036/taskmanagerapi/blob/master/TaskItem.cs"
click node_task_store "https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs"
click node_swagger "https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs"

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_endpoints,node_task_model,node_swagger,node_client toneBlue
class node_task_store toneAmber
```

## Components

### Task API

- [Task endpoints](https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs): `Program.cs`
- [Task item model](https://github.com/must-zeus0036/taskmanagerapi/blob/master/TaskItem.cs): `TaskItem.cs`
- [Swagger UI](https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs): `Program.cs`

### Task Runtime

- [In-memory task list](https://github.com/must-zeus0036/taskmanagerapi/blob/master/Program.cs): `Program.cs`

### Other components

- **API client**

## Connections

- API client → Task endpoints: requests tasks (evidence: `README.md`)
- Task endpoints → Task item model: binds task data (evidence: `Program.cs`)
- Task endpoints → In-memory task list: reads and mutates (evidence: `Program.cs`)
- API client → Swagger UI: tests API (evidence: `README.md`)
