# joe-elkilani/after-the-signal architecture

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

- Interactive diagram: https://gitdiagram.com/joe-elkilani/after-the-signal
- Repository: https://github.com/joe-elkilani/after-the-signal

## Overview

After The Signal is an interactive space-heritage experience: visitors choose an audience mode, browse Moon and Mars artifacts, and open stories about their missions, discoveries, timelines, and legacies. The Angular app also provides an archive, multilingual presentation, and an AI assistant. Static JSON is the documented primary data source; the .NET API is marked optional/in progress. Source-index references establish several component uses, while unsampled feature implementations and the AI service’s external behavior remain uncertain.

Main entry points: [`frontend/After-The-Signal/src/app/core/services/artifact-service.ts`](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/artifact-service.ts) (Artifact data), [`frontend/After-The-Signal/src/app/app.routes.ts`](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/app.routes.ts) (Page routing), [`backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs`](https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs) (API data context), [`frontend/After-The-Signal/src/app/app.ts`](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/app.ts) (App shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Visitor experience"]
  node_shell["App shell<br/>[app.ts]"]
  node_routes["Page routing<br/>[app.routes.ts]"]
  node_home["Home<br/>[home.ts]"]
  node_explore["Explore<br/>[explore.ts]"]
  node_archive["Artifact archive<br/>[archive.ts]"]
  node_story["Artifact story<br/>[artifact-story.ts]"]
  node_timeline["Story timeline"]
  node_assistant["AI assistant<br/>[ai-assistant.ts]"]
  node_ai_service["Assistant service"]
end

subgraph group_content["Artifact content"]
  node_artifacts["Artifact data"]
  node_artifact_types["Artifact models<br/>[models.ts]"]
end

subgraph group_personalization["Personalization"]
  node_age["Audience modes"]
  node_age_page["Age selection<br/>[age-selection.ts]"]
  node_translations["Translations<br/>[i18n.ts]"]
end

subgraph group_services["Optional backend"]
  node_api_equipment["Equipment API"]
  node_api_users["Users API<br/>[UsersController.cs]"]
  node_equipment["Equipment model<br/>[SpaceEquipment.cs]"]
  node_users["User model<br/>[Users.cs]"]
  node_db_context[("API data context")]
end

node_visitor(("Visitor"))

node_visitor -->|"opens pages"| node_routes
node_routes -->|"loads page"| node_home
node_routes -->|"loads page"| node_explore
node_routes -->|"loads page"| node_archive
node_routes -->|"loads page"| node_story
node_shell -->|"checks mode"| node_age
node_shell -->|"redirects to"| node_age_page
node_home -->|"uses artifacts"| node_artifacts
node_explore -->|"uses artifacts"| node_artifacts
node_explore -->|"uses types"| node_artifact_types
node_archive -->|"uses artifacts"| node_artifacts
node_archive -->|"uses types"| node_artifact_types
node_story -->|"loads story data"| node_artifacts
node_story -->|"uses timeline"| node_timeline
node_artifacts -->|"reads language"| node_translations
node_artifacts -->|"uses types"| node_artifact_types
node_shell -->|"displays assistant"| node_assistant
node_assistant -->|"delegates to"| node_ai_service
node_api_equipment -->|"uses context"| node_db_context
node_api_equipment -->|"uses model"| node_equipment
node_api_users -->|"uses context"| node_db_context
node_api_users -->|"uses model"| node_users
node_db_context -->|"stores set"| node_equipment
node_db_context -->|"stores set"| node_users

click node_shell "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/app.ts"
click node_routes "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/app.routes.ts"
click node_home "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/home/home/home.ts"
click node_explore "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/explore/explore/explore.ts"
click node_archive "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/archive/archive.ts"
click node_story "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/artifact-story/artifact-story/artifact-story.ts"
click node_timeline "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/artifact-story/artifact-timeline/artifact-timeline.ts"
click node_assistant "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/ai-assistant/ai-assistant/ai-assistant.ts"
click node_ai_service "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/ai-assistant.service.ts.ts"
click node_artifacts "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/artifact-service.ts"
click node_artifact_types "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/models.ts"
click node_age "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/age-mode.service.ts"
click node_age_page "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/age-selection/age-selection.ts"
click node_translations "https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/i18n.ts"
click node_api_equipment "https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/SpaceEquipmentController.cs"
click node_api_users "https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/UsersController.cs"
click node_equipment "https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Modals/SpaceEquipment.cs"
click node_users "https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Modals/Users.cs"
click node_db_context "https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs"

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_shell,node_routes,node_home,node_explore,node_archive,node_story,node_timeline,node_assistant,node_ai_service toneBlue
class node_artifacts,node_artifact_types toneAmber
class node_age,node_age_page,node_translations toneMint
class node_api_equipment,node_api_users,node_equipment,node_users,node_db_context toneRose
class node_visitor toneIndigo
```

## Components

### Visitor experience

- [App shell](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/app.ts): `frontend/After-The-Signal/src/app/app.ts`
- [Page routing](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/app.routes.ts): `frontend/After-The-Signal/src/app/app.routes.ts`
- [Home](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/home/home/home.ts): `frontend/After-The-Signal/src/app/features/home/home/home.ts`
- [Explore](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/explore/explore/explore.ts): `frontend/After-The-Signal/src/app/features/explore/explore/explore.ts`
- [Artifact archive](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/archive/archive.ts): `frontend/After-The-Signal/src/app/features/archive/archive.ts`
- [Artifact story](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/artifact-story/artifact-story/artifact-story.ts): `frontend/After-The-Signal/src/app/features/artifact-story/artifact-story/artifact-story.ts`
- [Story timeline](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/artifact-story/artifact-timeline/artifact-timeline.ts): `frontend/After-The-Signal/src/app/features/artifact-story/artifact-timeline/artifact-timeline.ts`
- [AI assistant](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/ai-assistant/ai-assistant/ai-assistant.ts): `frontend/After-The-Signal/src/app/features/ai-assistant/ai-assistant/ai-assistant.ts`
- [Assistant service](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/ai-assistant.service.ts.ts): `frontend/After-The-Signal/src/app/core/services/ai-assistant.service.ts.ts`

### Artifact content

- [Artifact data](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/artifact-service.ts): `frontend/After-The-Signal/src/app/core/services/artifact-service.ts`
- [Artifact models](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/models.ts): `frontend/After-The-Signal/src/app/core/services/models.ts`

### Personalization

- [Audience modes](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/age-mode.service.ts): `frontend/After-The-Signal/src/app/core/services/age-mode.service.ts`
- [Age selection](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/features/age-selection/age-selection.ts): `frontend/After-The-Signal/src/app/features/age-selection/age-selection.ts`
- [Translations](https://github.com/joe-elkilani/after-the-signal/blob/main/frontend/After-The-Signal/src/app/core/services/i18n.ts): `frontend/After-The-Signal/src/app/core/services/i18n.ts`

### Optional backend

- [Equipment API](https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/SpaceEquipmentController.cs): `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/SpaceEquipmentController.cs`
- [Users API](https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/UsersController.cs): `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/UsersController.cs`
- [Equipment model](https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Modals/SpaceEquipment.cs): `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Modals/SpaceEquipment.cs`
- [User model](https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Modals/Users.cs): `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Modals/Users.cs`
- [API data context](https://github.com/joe-elkilani/after-the-signal/blob/main/backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs): `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs`

### Other components

- **Visitor**

## Connections

- Visitor → Page routing: opens pages (evidence: `frontend/After-The-Signal/src/app/app.routes.ts`)
- Page routing → Home: loads page (evidence: `frontend/After-The-Signal/src/app/app.routes.ts`)
- Page routing → Explore: loads page (evidence: `frontend/After-The-Signal/src/app/app.routes.ts`)
- Page routing → Artifact archive: loads page (evidence: `frontend/After-The-Signal/src/app/app.routes.ts`)
- Page routing → Artifact story: loads page (evidence: `frontend/After-The-Signal/src/app/app.routes.ts`)
- App shell → Audience modes: checks mode (evidence: `frontend/After-The-Signal/src/app/app.ts`)
- App shell → Age selection: redirects to (evidence: `frontend/After-The-Signal/src/app/app.ts`)
- Home → Artifact data: uses artifacts (evidence: `frontend/After-The-Signal/src/app/features/home/home/home.ts`)
- Explore → Artifact data: uses artifacts (evidence: `frontend/After-The-Signal/src/app/features/explore/explore/explore.ts`)
- Explore → Artifact models: uses types (evidence: `frontend/After-The-Signal/src/app/features/explore/explore/explore.ts`)
- Artifact archive → Artifact data: uses artifacts (evidence: `frontend/After-The-Signal/src/app/features/archive/archive.ts`)
- Artifact archive → Artifact models: uses types (evidence: `frontend/After-The-Signal/src/app/features/archive/archive.ts`)
- Artifact story → Artifact data: loads story data (evidence: `frontend/After-The-Signal/src/app/features/artifact-story/artifact-story/artifact-story.ts`)
- Artifact story → Story timeline: uses timeline (evidence: `frontend/After-The-Signal/src/app/features/artifact-story/artifact-story/artifact-story.ts`)
- Artifact data → Translations: reads language (evidence: `frontend/After-The-Signal/src/app/core/services/artifact-service.ts`)
- Artifact data → Artifact models: uses types (evidence: `frontend/After-The-Signal/src/app/core/services/artifact-service.ts`)
- App shell → AI assistant: displays assistant (evidence: `frontend/After-The-Signal/src/app/app.ts`)
- AI assistant → Assistant service: delegates to (evidence: `frontend/After-The-Signal/src/app/features/ai-assistant/ai-assistant/ai-assistant.ts`)
- Equipment API → API data context: uses context (evidence: `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/SpaceEquipmentController.cs`)
- Equipment API → Equipment model: uses model (evidence: `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/SpaceEquipmentController.cs`)
- Users API → API data context: uses context (evidence: `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/UsersController.cs`)
- Users API → User model: uses model (evidence: `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/Controllers/UsersController.cs`)
- API data context → Equipment model: stores set (evidence: `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs`)
- API data context → User model: stores set (evidence: `backend/NasaSpaceAppsAi/NasaSpaceAppsAi/data/NasaSpaceAppsApiContext.cs`)
