# sevriugin/keeper-ng architecture

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

- Interactive diagram: https://gitdiagram.com/sevriugin/keeper-ng
- Repository: https://github.com/sevriugin/keeper-ng

## Overview

KeeperNg is a small Angular note-taking UI. A user enters a note in the create area; the board maintains an in-memory list, and note items expose deletion. The shown component code supports these behaviors, but the templates that wire component events and display the list were not excerpted, so those links are marked unverified. The app routes the root URL to the board and boots through AppModule. No persistent store or external service is shown; notes.ts contains sample data, but the sampled board code does not use it.

Main entry points: [`src/app/app.module.ts`](https://github.com/sevriugin/keeper-ng/blob/master/src/app/app.module.ts) (App module), [`src/app/board/board.component.ts`](https://github.com/sevriugin/keeper-ng/blob/master/src/app/board/board.component.ts) (Note board), [`src/app/create-area/create-area.component.ts`](https://github.com/sevriugin/keeper-ng/blob/master/src/app/create-area/create-area.component.ts) (Create area), [`src/app/note/note.component.ts`](https://github.com/sevriugin/keeper-ng/blob/master/src/app/note/note.component.ts) (Note item)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Angular application"]
  node_entry["Browser entry<br/>[main.ts]"]
  node_env["Environment config<br/>[environment.ts]"]
  node_module["App module<br/>[app.module.ts]"]
  node_routing["Root routing"]
  node_root["Root component<br/>[app.component.ts]"]
end

subgraph group_notes["Note board"]
  node_board["Note board<br/>[board.component.ts]"]
  node_create["Create area"]
  node_note["Note item<br/>[note.component.ts]"]
  node_sample["Sample notes<br/>[notes.ts]"]
end

subgraph group_chrome["Page chrome"]
  node_header["Header"]
  node_footer["Footer"]
end

node_user(("User"))

node_entry -->|"reads config"| node_env
node_entry -->|"bootstraps"| node_module
node_module -->|"imports"| node_routing
node_routing -->|"routes to"| node_board
node_module -->|"declares"| node_root
node_module -->|"declares"| node_board
node_module -->|"declares"| node_create
node_module -->|"declares"| node_note
node_module -->|"declares"| node_header
node_module -->|"declares"| node_footer
node_user -.->|"enters note"| node_create
node_create -.->|"emits addition"| node_board
node_board -.->|"renders items"| node_note
node_note -.->|"emits deletion"| node_board

click node_entry "https://github.com/sevriugin/keeper-ng/blob/master/src/main.ts"
click node_env "https://github.com/sevriugin/keeper-ng/blob/master/src/environments/environment.ts"
click node_module "https://github.com/sevriugin/keeper-ng/blob/master/src/app/app.module.ts"
click node_routing "https://github.com/sevriugin/keeper-ng/blob/master/src/app/app-routing.module.ts"
click node_root "https://github.com/sevriugin/keeper-ng/blob/master/src/app/app.component.ts"
click node_board "https://github.com/sevriugin/keeper-ng/blob/master/src/app/board/board.component.ts"
click node_create "https://github.com/sevriugin/keeper-ng/blob/master/src/app/create-area/create-area.component.ts"
click node_note "https://github.com/sevriugin/keeper-ng/blob/master/src/app/note/note.component.ts"
click node_sample "https://github.com/sevriugin/keeper-ng/blob/master/src/app/notes.ts"
click node_header "https://github.com/sevriugin/keeper-ng/blob/master/src/app/header/header.component.ts"
click node_footer "https://github.com/sevriugin/keeper-ng/blob/master/src/app/footer/footer.component.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_entry,node_env,node_module,node_routing,node_root,node_user toneBlue
class node_board,node_create,node_note,node_sample toneAmber
class node_header,node_footer toneMint
```

## Components

### Angular application

- [Browser entry](https://github.com/sevriugin/keeper-ng/blob/master/src/main.ts): `src/main.ts`
- [Environment config](https://github.com/sevriugin/keeper-ng/blob/master/src/environments/environment.ts): `src/environments/environment.ts`
- [App module](https://github.com/sevriugin/keeper-ng/blob/master/src/app/app.module.ts): `src/app/app.module.ts`
- [Root routing](https://github.com/sevriugin/keeper-ng/blob/master/src/app/app-routing.module.ts): `src/app/app-routing.module.ts`
- [Root component](https://github.com/sevriugin/keeper-ng/blob/master/src/app/app.component.ts): `src/app/app.component.ts`

### Note board

- [Note board](https://github.com/sevriugin/keeper-ng/blob/master/src/app/board/board.component.ts): `src/app/board/board.component.ts`
- [Create area](https://github.com/sevriugin/keeper-ng/blob/master/src/app/create-area/create-area.component.ts): `src/app/create-area/create-area.component.ts`
- [Note item](https://github.com/sevriugin/keeper-ng/blob/master/src/app/note/note.component.ts): `src/app/note/note.component.ts`
- [Sample notes](https://github.com/sevriugin/keeper-ng/blob/master/src/app/notes.ts): `src/app/notes.ts`

### Page chrome

- [Header](https://github.com/sevriugin/keeper-ng/blob/master/src/app/header/header.component.ts): `src/app/header/header.component.ts`
- [Footer](https://github.com/sevriugin/keeper-ng/blob/master/src/app/footer/footer.component.ts): `src/app/footer/footer.component.ts`

### Other components

- **User**

## Connections

- Browser entry → Environment config: reads config (evidence: `src/main.ts`)
- Browser entry → App module: bootstraps (evidence: `src/main.ts`)
- App module → Root routing: imports (evidence: `src/app/app.module.ts`)
- Root routing → Note board: routes to (evidence: `src/app/app-routing.module.ts`)
- App module → Root component: declares (evidence: `src/app/app.module.ts`)
- App module → Note board: declares (evidence: `src/app/app.module.ts`)
- App module → Create area: declares (evidence: `src/app/app.module.ts`)
- App module → Note item: declares (evidence: `src/app/app.module.ts`)
- App module → Header: declares (evidence: `src/app/app.module.ts`)
- App module → Footer: declares (evidence: `src/app/app.module.ts`)
- User → Create area: enters note
- Create area → Note board: emits addition
- Note board → Note item: renders items
- Note item → Note board: emits deletion
