# mgechev/angular-seed architecture

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

- Interactive diagram: https://gitdiagram.com/mgechev/angular-seed
- Repository: https://github.com/mgechev/angular-seed

## Overview

This repository is an Angular starter application: the browser bootstraps a root module, which composes the shared shell and routed Home and About features. The Home feature retrieves a sample name list through an HTTP service. The tree and excerpts support the app structure, but do not establish a live translation flow; translation providers are therefore shown without an asserted connection. Build and development tooling is excluded.

Main entry points: [`src/client/app/app.module.ts`](https://github.com/mgechev/angular-seed/blob/master/src/client/app/app.module.ts) (Root module), [`src/client/app/core/core.module.ts`](https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/core.module.ts) (Core shell), [`src/client/app/home/home.component.ts`](https://github.com/mgechev/angular-seed/blob/master/src/client/app/home/home.component.ts) (Home feature), [`src/client/app/main.ts`](https://github.com/mgechev/angular-seed/blob/master/src/client/app/main.ts) (App bootstrap)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application shell"]
  node_bootstrap["App bootstrap<br/>[main.ts]"]
  node_root["Root module<br/>[app.module.ts]"]
  node_rootview["Root component<br/>[app.component.ts]"]
  node_routing["App routing"]
  node_core["Core shell<br/>[core.module.ts]"]
  node_navbar["Navigation bar"]
  node_toolbar["Toolbar"]
end

subgraph group_features["User features"]
  node_home["Home feature<br/>[home.component.ts]"]
  node_home_route["Home route"]
  node_about["About feature<br/>[about.component.ts]"]
  node_about_route["About route"]
end

subgraph group_shared["Shared services"]
  node_shared["Shared module<br/>[shared.module.ts]"]
  node_names["Name list service"]
  node_env["Environment config<br/>[env.config.ts]"]
  node_i18n["Translation providers<br/>[i18n.providers.ts]"]
end

node_browser(("Browser user"))
node_asset["Name list JSON"]

node_browser -->|"opens app"| node_bootstrap
node_bootstrap -->|"bootstraps"| node_root
node_root -->|"declares"| node_rootview
node_root -->|"imports"| node_routing
node_root -->|"imports"| node_core
node_root -->|"loads feature"| node_home
node_root -->|"loads feature"| node_about
node_root -->|"imports"| node_shared
node_core -->|"uses"| node_navbar
node_core -->|"uses"| node_toolbar
node_home_route -->|"routes to"| node_home
node_about_route -->|"routes to"| node_about
node_home -->|"requests names"| node_names
node_names -->|"fetches JSON"| node_asset
node_rootview -->|"reads config"| node_env

click node_bootstrap "https://github.com/mgechev/angular-seed/blob/master/src/client/app/main.ts"
click node_root "https://github.com/mgechev/angular-seed/blob/master/src/client/app/app.module.ts"
click node_rootview "https://github.com/mgechev/angular-seed/blob/master/src/client/app/app.component.ts"
click node_routing "https://github.com/mgechev/angular-seed/blob/master/src/client/app/app-routing.module.ts"
click node_core "https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/core.module.ts"
click node_navbar "https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/navbar/navbar.component.ts"
click node_toolbar "https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/toolbar/toolbar.component.ts"
click node_home "https://github.com/mgechev/angular-seed/blob/master/src/client/app/home/home.component.ts"
click node_home_route "https://github.com/mgechev/angular-seed/blob/master/src/client/app/home/home-routing.module.ts"
click node_about "https://github.com/mgechev/angular-seed/blob/master/src/client/app/about/about.component.ts"
click node_about_route "https://github.com/mgechev/angular-seed/blob/master/src/client/app/about/about-routing.module.ts"
click node_shared "https://github.com/mgechev/angular-seed/blob/master/src/client/app/shared/shared.module.ts"
click node_names "https://github.com/mgechev/angular-seed/blob/master/src/client/app/shared/name-list/name-list.service.ts"
click node_env "https://github.com/mgechev/angular-seed/blob/master/src/client/app/shared/config/env.config.ts"
click node_i18n "https://github.com/mgechev/angular-seed/blob/master/src/client/app/i18n.providers.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_root,node_rootview,node_routing,node_core,node_navbar,node_toolbar,node_browser toneBlue
class node_home,node_home_route,node_about,node_about_route toneAmber
class node_shared,node_names,node_env,node_i18n toneMint
class node_asset toneIndigo
```

## Components

### Application shell

- [App bootstrap](https://github.com/mgechev/angular-seed/blob/master/src/client/app/main.ts): `src/client/app/main.ts`
- [Root module](https://github.com/mgechev/angular-seed/blob/master/src/client/app/app.module.ts): `src/client/app/app.module.ts`
- [Root component](https://github.com/mgechev/angular-seed/blob/master/src/client/app/app.component.ts): `src/client/app/app.component.ts`
- [App routing](https://github.com/mgechev/angular-seed/blob/master/src/client/app/app-routing.module.ts): `src/client/app/app-routing.module.ts`
- [Core shell](https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/core.module.ts): `src/client/app/core/core.module.ts`
- [Navigation bar](https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/navbar/navbar.component.ts): `src/client/app/core/navbar/navbar.component.ts`
- [Toolbar](https://github.com/mgechev/angular-seed/blob/master/src/client/app/core/toolbar/toolbar.component.ts): `src/client/app/core/toolbar/toolbar.component.ts`

### User features

- [Home feature](https://github.com/mgechev/angular-seed/blob/master/src/client/app/home/home.component.ts): `src/client/app/home/home.component.ts`
- [Home route](https://github.com/mgechev/angular-seed/blob/master/src/client/app/home/home-routing.module.ts): `src/client/app/home/home-routing.module.ts`
- [About feature](https://github.com/mgechev/angular-seed/blob/master/src/client/app/about/about.component.ts): `src/client/app/about/about.component.ts`
- [About route](https://github.com/mgechev/angular-seed/blob/master/src/client/app/about/about-routing.module.ts): `src/client/app/about/about-routing.module.ts`

### Shared services

- [Shared module](https://github.com/mgechev/angular-seed/blob/master/src/client/app/shared/shared.module.ts): `src/client/app/shared/shared.module.ts`
- [Name list service](https://github.com/mgechev/angular-seed/blob/master/src/client/app/shared/name-list/name-list.service.ts): `src/client/app/shared/name-list/name-list.service.ts`
- [Environment config](https://github.com/mgechev/angular-seed/blob/master/src/client/app/shared/config/env.config.ts): `src/client/app/shared/config/env.config.ts`
- [Translation providers](https://github.com/mgechev/angular-seed/blob/master/src/client/app/i18n.providers.ts): `src/client/app/i18n.providers.ts`

### Other components

- **Browser user**
- **Name list JSON**

## Connections

- Browser user → App bootstrap: opens app
- App bootstrap → Root module: bootstraps (evidence: `src/client/app/main.ts`)
- Root module → Root component: declares (evidence: `src/client/app/app.module.ts`)
- Root module → App routing: imports (evidence: `src/client/app/app.module.ts`)
- Root module → Core shell: imports (evidence: `src/client/app/app.module.ts`)
- Root module → Home feature: loads feature (evidence: `src/client/app/app.module.ts`)
- Root module → About feature: loads feature (evidence: `src/client/app/app.module.ts`)
- Root module → Shared module: imports (evidence: `src/client/app/app.module.ts`)
- Core shell → Navigation bar: uses (evidence: `src/client/app/core/core.module.ts`)
- Core shell → Toolbar: uses (evidence: `src/client/app/core/core.module.ts`)
- Home route → Home feature: routes to (evidence: `src/client/app/home/home-routing.module.ts`)
- About route → About feature: routes to (evidence: `src/client/app/about/about-routing.module.ts`)
- Home feature → Name list service: requests names (evidence: `src/client/app/home/home.component.ts`)
- Name list service → Name list JSON: fetches JSON (evidence: `src/client/app/shared/name-list/name-list.service.ts`)
- Root component → Environment config: reads config (evidence: `src/client/app/app.component.ts`)
