# awaadcc/dovshop architecture

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

## Overview

dovShop is an Ionic app for organizing iOS packages from online sources. The user enters through the tabbed app, where source management fetches source JSON and persists source and URL lists; the README describes sources as catalogs of packages. Other tab pages and the updates view are present, but their detailed behavior is not visible in the excerpts, so their roles and connections are kept conservative. The graph shows the Angular routing and sampled source-management calls; unsampled feature details are not inferred.

Main entry points: [`src/app/tabs/tabs-routing.module.ts`](https://github.com/awaadcc/dovshop/blob/main/src/app/tabs/tabs-routing.module.ts) (Tab routes), [`src/app/serve.service.ts`](https://github.com/awaadcc/dovshop/blob/main/src/app/serve.service.ts) (Source service), [`src/app/shared/storage-item.ts`](https://github.com/awaadcc/dovshop/blob/main/src/app/shared/storage-item.ts) (Source model), [`src/app/tab2/tab2.page.ts`](https://github.com/awaadcc/dovshop/blob/main/src/app/tab2/tab2.page.ts) (Source tab)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["App navigation"]
  node_bootstrap["App bootstrap<br/>[main.ts]"]
  node_appmodule["App module<br/>[app.module.ts]"]
  node_approuting["App routes"]
  node_tabsrouting["Tab routes"]
  node_tabframe["Tab frame<br/>[tabs.page.ts]"]
end

subgraph group_catalog["Package catalog"]
  node_tab1["Catalog tab<br/>[tab1.page.ts]"]
  node_tab3["Package tab<br/>[tab3.page.ts]"]
  node_tab4["Tab four<br/>[tab4.page.ts]"]
  node_appstab["Apps tab<br/>[appstab.page.ts]"]
end

subgraph group_sources["Source management"]
  node_tab2["Source tab<br/>[tab2.page.ts]"]
  node_serve["Source service<br/>[serve.service.ts]"]
  node_storageitem["Source model<br/>[storage-item.ts]"]
  node_ionicstorage[("Local storage")]
end

subgraph group_updates["Updates"]
  node_updates["Updates view<br/>[updates.page.ts]"]
end

node_user(("App user"))
node_sourcehost{{"Source JSON host"}}

node_user -->|"opens app"| node_bootstrap
node_bootstrap -->|"bootstraps"| node_appmodule
node_appmodule -->|"imports routes"| node_approuting
node_approuting -->|"loads tabs"| node_tabsrouting
node_tabsrouting -->|"renders frame"| node_tabframe
node_tabsrouting -->|"loads tab"| node_tab1
node_tabsrouting -->|"loads tab"| node_tab2
node_tabsrouting -->|"loads tab"| node_tab3
node_tabsrouting -->|"loads tab"| node_tab4
node_tabsrouting -->|"loads tab"| node_appstab
node_tabsrouting -->|"loads view"| node_updates
node_tab2 -->|"fetches source"| node_serve
node_serve -->|"requests JSON"| node_sourcehost
node_tab2 -->|"reads and writes"| node_ionicstorage
node_serve -->|"initializes storage"| node_ionicstorage
node_tab2 -->|"uses model"| node_storageitem
node_appstab -->|"uses service"| node_serve
node_appstab -->|"uses model"| node_storageitem
node_tab1 -->|"uses service"| node_serve
node_tab1 -->|"uses model"| node_storageitem
node_tab3 -->|"uses service"| node_serve
node_tab3 -->|"uses model"| node_storageitem
node_tab4 -->|"uses service"| node_serve
node_tab4 -->|"uses model"| node_storageitem

click node_bootstrap "https://github.com/awaadcc/dovshop/blob/main/src/main.ts"
click node_appmodule "https://github.com/awaadcc/dovshop/blob/main/src/app/app.module.ts"
click node_approuting "https://github.com/awaadcc/dovshop/blob/main/src/app/app-routing.module.ts"
click node_tabsrouting "https://github.com/awaadcc/dovshop/blob/main/src/app/tabs/tabs-routing.module.ts"
click node_tabframe "https://github.com/awaadcc/dovshop/blob/main/src/app/tabs/tabs.page.ts"
click node_tab1 "https://github.com/awaadcc/dovshop/blob/main/src/app/tab1/tab1.page.ts"
click node_tab2 "https://github.com/awaadcc/dovshop/blob/main/src/app/tab2/tab2.page.ts"
click node_tab3 "https://github.com/awaadcc/dovshop/blob/main/src/app/tab3/tab3.page.ts"
click node_tab4 "https://github.com/awaadcc/dovshop/blob/main/src/app/tab4/tab4.page.ts"
click node_appstab "https://github.com/awaadcc/dovshop/blob/main/src/app/appstab/appstab.page.ts"
click node_updates "https://github.com/awaadcc/dovshop/blob/main/src/app/updates/updates.page.ts"
click node_serve "https://github.com/awaadcc/dovshop/blob/main/src/app/serve.service.ts"
click node_storageitem "https://github.com/awaadcc/dovshop/blob/main/src/app/shared/storage-item.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_bootstrap,node_appmodule,node_approuting,node_tabsrouting,node_tabframe,node_user toneBlue
class node_tab1,node_tab3,node_tab4,node_appstab toneAmber
class node_tab2,node_serve,node_storageitem,node_ionicstorage toneMint
class node_updates toneRose
class node_sourcehost toneIndigo
```

## Components

### App navigation

- [App bootstrap](https://github.com/awaadcc/dovshop/blob/main/src/main.ts): `src/main.ts`
- [App module](https://github.com/awaadcc/dovshop/blob/main/src/app/app.module.ts): `src/app/app.module.ts`
- [App routes](https://github.com/awaadcc/dovshop/blob/main/src/app/app-routing.module.ts): `src/app/app-routing.module.ts`
- [Tab routes](https://github.com/awaadcc/dovshop/blob/main/src/app/tabs/tabs-routing.module.ts): `src/app/tabs/tabs-routing.module.ts`
- [Tab frame](https://github.com/awaadcc/dovshop/blob/main/src/app/tabs/tabs.page.ts): `src/app/tabs/tabs.page.ts`

### Package catalog

- [Catalog tab](https://github.com/awaadcc/dovshop/blob/main/src/app/tab1/tab1.page.ts): `src/app/tab1/tab1.page.ts`
- [Package tab](https://github.com/awaadcc/dovshop/blob/main/src/app/tab3/tab3.page.ts): `src/app/tab3/tab3.page.ts`
- [Tab four](https://github.com/awaadcc/dovshop/blob/main/src/app/tab4/tab4.page.ts): `src/app/tab4/tab4.page.ts`
- [Apps tab](https://github.com/awaadcc/dovshop/blob/main/src/app/appstab/appstab.page.ts): `src/app/appstab/appstab.page.ts`

### Source management

- [Source tab](https://github.com/awaadcc/dovshop/blob/main/src/app/tab2/tab2.page.ts): `src/app/tab2/tab2.page.ts`
- [Source service](https://github.com/awaadcc/dovshop/blob/main/src/app/serve.service.ts): `src/app/serve.service.ts`
- [Source model](https://github.com/awaadcc/dovshop/blob/main/src/app/shared/storage-item.ts): `src/app/shared/storage-item.ts`
- **Local storage**

### Updates

- [Updates view](https://github.com/awaadcc/dovshop/blob/main/src/app/updates/updates.page.ts): `src/app/updates/updates.page.ts`

### Other components

- **App user**
- **Source JSON host**

## Connections

- App user → App bootstrap: opens app
- App bootstrap → App module: bootstraps (evidence: `src/main.ts`)
- App module → App routes: imports routes (evidence: `src/app/app.module.ts`)
- App routes → Tab routes: loads tabs (evidence: `src/app/app-routing.module.ts`)
- Tab routes → Tab frame: renders frame (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Tab routes → Catalog tab: loads tab (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Tab routes → Source tab: loads tab (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Tab routes → Package tab: loads tab (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Tab routes → Tab four: loads tab (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Tab routes → Apps tab: loads tab (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Tab routes → Updates view: loads view (evidence: `src/app/tabs/tabs-routing.module.ts`)
- Source tab → Source service: fetches source (evidence: `src/app/tab2/tab2.page.ts`)
- Source service → Source JSON host: requests JSON (evidence: `src/app/serve.service.ts`)
- Source tab → Local storage: reads and writes (evidence: `src/app/tab2/tab2.page.ts`)
- Source service → Local storage: initializes storage (evidence: `src/app/serve.service.ts`)
- Source tab → Source model: uses model (evidence: `src/app/tab2/tab2.page.ts`)
- Apps tab → Source service: uses service (evidence: `src/app/appstab/appstab.page.ts`)
- Apps tab → Source model: uses model (evidence: `src/app/appstab/appstab.page.ts`)
- Catalog tab → Source service: uses service (evidence: `src/app/tab1/tab1.page.ts`)
- Catalog tab → Source model: uses model (evidence: `src/app/tab1/tab1.page.ts`)
- Package tab → Source service: uses service (evidence: `src/app/tab3/tab3.page.ts`)
- Package tab → Source model: uses model (evidence: `src/app/tab3/tab3.page.ts`)
- Tab four → Source service: uses service (evidence: `src/app/tab4/tab4.page.ts`)
- Tab four → Source model: uses model (evidence: `src/app/tab4/tab4.page.ts`)
