# benfraj-helmi/angular-test architecture

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

- Interactive diagram: https://gitdiagram.com/benfraj-helmi/angular-test
- Repository: https://github.com/benfraj-helmi/angular-test

## Overview

ProjectManager is a small Angular project and task tracking UI. Users enter through the application shell, navigate to project listing, creation, dashboard, or contact views, and can inspect and edit projects and their tasks. The visible runtime state is held in the root component; no backend or persistent store is shown. The graph includes the project presentation helpers and status/date transformations. Template wiring for root-component data and creation events is not excerpted, so those links are marked unverified.

Main entry points: [`src/app/app.routes.ts`](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/app.routes.ts) (Route table), [`src/app/features/projects/components/project-list/project-list.ts`](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/project-list/project-list.ts) (Project listing), [`src/app/app.ts`](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/app.ts) (App shell and state), [`src/app/features/projects/components/task-list/task-list.ts`](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/task-list/task-list.ts) (Task list)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Application runtime"]
  node_bootstrap["Angular bootstrap<br/>[main.ts]"]
  node_shell["App shell and state<br/>[app.ts]"]
  node_routes["Route table<br/>[app.routes.ts]"]
end

subgraph group_projects["Project workflows"]
  node_project_list["Project listing<br/>[project-list.ts]"]
  node_add_project["Project creation<br/>[add-project.ts]"]
  node_edit_project["Project editing<br/>[edit-project.ts]"]
  node_project_detail["Project details<br/>[project-detail.ts]"]
  node_dashboard["Progress dashboard<br/>[dashboard.ts]"]
  node_date_pipe["Friendly dates"]
end

subgraph group_tasks["Task presentation"]
  node_task_list["Task list<br/>[task-list.ts]"]
  node_status_badge["Status badge<br/>[status-badge.ts]"]
  node_highlight["Status highlighting"]
  node_priority_pipe["Priority colors"]
  node_emoji_pipe["Status emoji"]
end

subgraph group_contact["Contact form"]
  node_contact_form["Contact form<br/>[contact-form.ts]"]
end

node_user(("User"))

node_user -->|"opens app"| node_bootstrap
node_bootstrap -->|"bootstraps"| node_shell
node_bootstrap -->|"provides routes"| node_routes
node_user -.->|"navigates"| node_routes
node_routes -->|"routes to"| node_project_list
node_routes -->|"routes to"| node_add_project
node_routes -->|"routes to"| node_dashboard
node_routes -->|"routes to"| node_contact_form
node_shell -.->|"renders"| node_project_list
node_shell -.->|"renders"| node_add_project
node_shell -.->|"provides projects"| node_dashboard
node_add_project -.->|"emits project"| node_shell
node_project_list -->|"renders"| node_edit_project
node_project_list -->|"renders"| node_project_detail
node_project_list -->|"renders"| node_task_list
node_project_list -->|"formats dates"| node_date_pipe
node_project_detail -->|"renders"| node_task_list
node_project_detail -->|"renders"| node_status_badge
node_task_list -->|"uses directive"| node_highlight
node_task_list -->|"formats priority"| node_priority_pipe
node_task_list -->|"formats status"| node_emoji_pipe

click node_bootstrap "https://github.com/benfraj-helmi/angular-test/blob/main/src/main.ts"
click node_shell "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/app.ts"
click node_routes "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/app.routes.ts"
click node_project_list "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/project-list/project-list.ts"
click node_add_project "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/add-project/add-project.ts"
click node_edit_project "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/edit-project/edit-project.ts"
click node_project_detail "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/project-detail/project-detail.ts"
click node_dashboard "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/dashboard/dashboard.ts"
click node_task_list "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/task-list/task-list.ts"
click node_status_badge "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/status-badge/status-badge.ts"
click node_highlight "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/directives/highlight-status.ts"
click node_priority_pipe "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/pipes/priority-color-pipe.ts"
click node_emoji_pipe "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/pipes/status-emoji-pipe.ts"
click node_date_pipe "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/pipes/friendly-date-pipe.ts"
click node_contact_form "https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/contact-form/contact-form/contact-form.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_shell,node_routes,node_user toneBlue
class node_project_list,node_add_project,node_edit_project,node_project_detail,node_dashboard,node_date_pipe toneAmber
class node_task_list,node_status_badge,node_highlight,node_priority_pipe,node_emoji_pipe toneMint
class node_contact_form toneRose
```

## Components

### Application runtime

- [Angular bootstrap](https://github.com/benfraj-helmi/angular-test/blob/main/src/main.ts): `src/main.ts`
- [App shell and state](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/app.ts): `src/app/app.ts`
- [Route table](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/app.routes.ts): `src/app/app.routes.ts`

### Project workflows

- [Project listing](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/project-list/project-list.ts): `src/app/features/projects/components/project-list/project-list.ts`
- [Project creation](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/add-project/add-project.ts): `src/app/features/projects/components/add-project/add-project.ts`
- [Project editing](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/edit-project/edit-project.ts): `src/app/features/projects/components/edit-project/edit-project.ts`
- [Project details](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/project-detail/project-detail.ts): `src/app/features/projects/components/project-detail/project-detail.ts`
- [Progress dashboard](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/dashboard/dashboard.ts): `src/app/features/projects/components/dashboard/dashboard.ts`
- [Friendly dates](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/pipes/friendly-date-pipe.ts): `src/app/features/projects/pipes/friendly-date-pipe.ts`

### Task presentation

- [Task list](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/task-list/task-list.ts): `src/app/features/projects/components/task-list/task-list.ts`
- [Status badge](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/components/status-badge/status-badge.ts): `src/app/features/projects/components/status-badge/status-badge.ts`
- [Status highlighting](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/directives/highlight-status.ts): `src/app/features/projects/directives/highlight-status.ts`
- [Priority colors](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/pipes/priority-color-pipe.ts): `src/app/features/projects/pipes/priority-color-pipe.ts`
- [Status emoji](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/projects/pipes/status-emoji-pipe.ts): `src/app/features/projects/pipes/status-emoji-pipe.ts`

### Contact form

- [Contact form](https://github.com/benfraj-helmi/angular-test/blob/main/src/app/features/contact-form/contact-form/contact-form.ts): `src/app/features/contact-form/contact-form/contact-form.ts`

### Other components

- **User**

## Connections

- User → Angular bootstrap: opens app
- Angular bootstrap → App shell and state: bootstraps (evidence: `src/main.ts`)
- Angular bootstrap → Route table: provides routes (evidence: `src/main.ts`)
- User → Route table: navigates
- Route table → Project listing: routes to (evidence: `src/app/app.routes.ts`)
- Route table → Project creation: routes to (evidence: `src/app/app.routes.ts`)
- Route table → Progress dashboard: routes to (evidence: `src/app/app.routes.ts`)
- Route table → Contact form: routes to (evidence: `src/app/app.routes.ts`)
- App shell and state → Project listing: renders (evidence: `src/app/app.ts`)
- App shell and state → Project creation: renders (evidence: `src/app/app.ts`)
- App shell and state → Progress dashboard: provides projects (evidence: `src/app/app.ts`)
- Project creation → App shell and state: emits project (evidence: `src/app/app.ts`)
- Project listing → Project editing: renders (evidence: `src/app/features/projects/components/project-list/project-list.ts`)
- Project listing → Project details: renders (evidence: `src/app/features/projects/components/project-list/project-list.ts`)
- Project listing → Task list: renders (evidence: `src/app/features/projects/components/project-list/project-list.ts`)
- Project listing → Friendly dates: formats dates (evidence: `src/app/features/projects/components/project-list/project-list.ts`)
- Project details → Task list: renders (evidence: `src/app/features/projects/components/project-detail/project-detail.ts`)
- Project details → Status badge: renders (evidence: `src/app/features/projects/components/project-detail/project-detail.ts`)
- Task list → Status highlighting: uses directive (evidence: `src/app/features/projects/components/task-list/task-list.ts`)
- Task list → Priority colors: formats priority (evidence: `src/app/features/projects/components/task-list/task-list.ts`)
- Task list → Status emoji: formats status (evidence: `src/app/features/projects/components/task-list/task-list.ts`)
