# eirikorkelbog/todo-list-app architecture

> Architecture diagram of the GitHub repository eirikorkelbog/todo-list-app, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/eirikorkelbog/todo-list-app
- Repository: https://github.com/eirikorkelbog/todo-list-app

## Overview

This is a small Vue todo-list app. Users set a heading and add, complete, or delete tasks in the single-page interface; the app restores the heading and tasks from browser local storage on mount and persists changes. The excerpts show the app entry point and its stylesheet import, but not the stylesheet’s contents.

Main entry points: [`src/App.vue`](https://github.com/eirikorkelbog/todo-list-app/blob/main/src/App.vue) (Todo interface and state), [`src/main.js`](https://github.com/eirikorkelbog/todo-list-app/blob/main/src/main.js) (Vue entry point), [`src/style.css`](https://github.com/eirikorkelbog/todo-list-app/blob/main/src/style.css) (Application styles)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_app["Todo interface and state<br/>[App.vue]"]
node_storage[("Browser local storage")]
node_entry["Vue entry point<br/>[main.js]"]
node_styles["Application styles<br/>[style.css]"]

node_user -->|"edits tasks"| node_app
node_entry -->|"mounts"| node_app
node_app -->|"reads on mount"| node_storage
node_app -->|"persists changes"| node_storage
node_entry -->|"imports styles"| node_styles

click node_app "https://github.com/eirikorkelbog/todo-list-app/blob/main/src/App.vue"
click node_entry "https://github.com/eirikorkelbog/todo-list-app/blob/main/src/main.js"
click node_styles "https://github.com/eirikorkelbog/todo-list-app/blob/main/src/style.css"

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_user toneBlue
class node_app,node_entry,node_styles toneTeal
class node_storage toneAmber
```

## Components

### Other components

- **User**
- [Todo interface and state](https://github.com/eirikorkelbog/todo-list-app/blob/main/src/App.vue): `src/App.vue`
- **Browser local storage**
- [Vue entry point](https://github.com/eirikorkelbog/todo-list-app/blob/main/src/main.js): `src/main.js`
- [Application styles](https://github.com/eirikorkelbog/todo-list-app/blob/main/src/style.css): `src/style.css`

## Connections

- User → Todo interface and state: edits tasks (evidence: `src/App.vue`)
- Vue entry point → Todo interface and state: mounts (evidence: `src/main.js`)
- Todo interface and state → Browser local storage: reads on mount (evidence: `src/App.vue`)
- Todo interface and state → Browser local storage: persists changes (evidence: `src/App.vue`)
- Vue entry point → Application styles: imports styles (evidence: `src/main.js`)
