# jensbaumanndev/snipatlas architecture

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

- Interactive diagram: https://gitdiagram.com/jensbaumanndev/snipatlas
- Repository: https://github.com/jensbaumanndev/snipatlas

## Overview

SnipAtlas is a bilingual reference and project-roadmap app for junior developers. Visitors navigate commands, concepts, guides, error explanations, glossary and news; authenticated users can save personal data, build a tailored My Project roadmap, and submit requests. Angular routes and content services present the reference material, while API clients communicate with Django REST apps for content, accounts and feedback. The README documents the major capabilities and API boundaries; sampled source shows selected frontend routing and content-index behavior, but not every page, API view or backend integration.

Main entry points: [`frontend/src/app/app.routes.ts`](https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/app.routes.ts) (Angular app), [`backend/app_accounts/api/views.py`](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_accounts/api/views.py) (Account API), [`frontend/src/app/features`](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features) (Reference pages), [`frontend/src/app/core/content`](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/core/content) (Content indexing)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Frontend experience"]
  node_angular["Angular app<br/>[app.routes.ts]"]
  node_api_transport["API transport<br/>[api-request.ts]"]
end

subgraph group_content["Reference content"]
  node_reference_pages["Reference pages"]
  node_content_index["Content indexing"]
  node_api_clients["Content API clients"]
  node_debug_model["Debug guide model<br/>[debug-guide.ts]"]
end

subgraph group_personal["Accounts and projects"]
  node_my_project["My Project"]
  node_auth_ui["Account pages"]
  node_profile_ui["Profile pages"]
end

subgraph group_backend["Django services"]
  node_account_api["Account API<br/>[views.py]"]
  node_account_data[("Account data<br/>[models.py]")]
  node_content_api["Content API<br/>[views.py]"]
  node_content_data[("Content catalog<br/>[models.py]")]
  node_roadmap_logic["Roadmap rules<br/>[roadmap.py]"]
  node_feedback_api["Request API<br/>[views.py]"]
  node_feedback_data[("Request records<br/>[models.py]")]
end

node_visitor(("Visitor"))
node_database[("PostgreSQL")]
node_email["Email service"]

node_visitor -->|"browses"| node_angular
node_angular -->|"routes to"| node_reference_pages
node_reference_pages -->|"checks content"| node_content_index
node_content_index -->|"loads indexes"| node_api_clients
node_api_clients -.->|"uses requests"| node_api_transport
node_api_transport -->|"calls API"| node_content_api
node_content_api -->|"reads content"| node_content_data
node_content_data -->|"persists in"| node_database
node_angular -->|"routes to"| node_my_project
node_angular -->|"routes to"| node_auth_ui
node_angular -->|"routes to"| node_profile_ui
node_auth_ui -->|"uses account endpoints"| node_account_api
node_profile_ui -->|"uses personal endpoints"| node_account_api
node_my_project -->|"saves progress"| node_account_api
node_account_api -->|"reads and writes"| node_account_data
node_account_data -->|"persists in"| node_database
node_my_project -.->|"requests roadmap"| node_roadmap_logic
node_roadmap_logic -.->|"uses roadmap content"| node_content_data
node_reference_pages -->|"submits requests"| node_feedback_api
node_feedback_api -->|"records tickets"| node_feedback_data
node_feedback_data -->|"persists in"| node_database
node_account_api -.->|"sends account email"| node_email
node_content_index -->|"maps debug guides"| node_debug_model

click node_angular "https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/app.routes.ts"
click node_reference_pages "https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features"
click node_content_index "https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/core/content"
click node_api_clients "https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/core/api"
click node_api_transport "https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/core/api/api-request.ts"
click node_debug_model "https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/core/models/debug-guide.ts"
click node_my_project "https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features/my-project"
click node_auth_ui "https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features/auth"
click node_profile_ui "https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features/profile"
click node_account_api "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_accounts/api/views.py"
click node_account_data "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_accounts/models.py"
click node_content_api "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_content/api/views.py"
click node_content_data "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_content/models.py"
click node_roadmap_logic "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_content/roadmap.py"
click node_feedback_api "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_feedback/api/views.py"
click node_feedback_data "https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_feedback/models.py"

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_angular,node_api_transport toneBlue
class node_reference_pages,node_content_index,node_api_clients,node_debug_model,node_database toneAmber
class node_my_project,node_auth_ui,node_profile_ui toneMint
class node_account_api,node_account_data,node_content_api,node_content_data,node_roadmap_logic,node_feedback_api,node_feedback_data toneRose
class node_visitor,node_email toneIndigo
```

## Components

### Frontend experience

- [Angular app](https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/app.routes.ts): `frontend/src/app/app.routes.ts`
- [API transport](https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/core/api/api-request.ts): `frontend/src/app/core/api/api-request.ts`

### Reference content

- [Reference pages](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features): `frontend/src/app/features`
- [Content indexing](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/core/content): `frontend/src/app/core/content`
- [Content API clients](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/core/api): `frontend/src/app/core/api`
- [Debug guide model](https://github.com/jensbaumanndev/snipatlas/blob/main/frontend/src/app/core/models/debug-guide.ts): `frontend/src/app/core/models/debug-guide.ts`

### Accounts and projects

- [My Project](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features/my-project): `frontend/src/app/features/my-project`
- [Account pages](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features/auth): `frontend/src/app/features/auth`
- [Profile pages](https://github.com/jensbaumanndev/snipatlas/tree/main/frontend/src/app/features/profile): `frontend/src/app/features/profile`

### Django services

- [Account API](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_accounts/api/views.py): `backend/app_accounts/api/views.py`
- [Account data](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_accounts/models.py): `backend/app_accounts/models.py`
- [Content API](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_content/api/views.py): `backend/app_content/api/views.py`
- [Content catalog](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_content/models.py): `backend/app_content/models.py`
- [Roadmap rules](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_content/roadmap.py): `backend/app_content/roadmap.py`
- [Request API](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_feedback/api/views.py): `backend/app_feedback/api/views.py`
- [Request records](https://github.com/jensbaumanndev/snipatlas/blob/main/backend/app_feedback/models.py): `backend/app_feedback/models.py`

### Other components

- **Visitor**
- **PostgreSQL**
- **Email service**

## Connections

- Visitor → Angular app: browses (evidence: `README.md`)
- Angular app → Reference pages: routes to (evidence: `frontend/src/app/app.routes.ts`)
- Reference pages → Content indexing: checks content (evidence: `frontend/src/app/features/errors/errors.routes.ts`)
- Content indexing → Content API clients: loads indexes (evidence: `frontend/src/app/core/content/area-content.ts`)
- Content API clients → API transport: uses requests (evidence: `frontend/src/app/core/api/blueprint-api.ts`)
- API transport → Content API: calls API (evidence: `README.md`)
- Content API → Content catalog: reads content (evidence: `README.md`)
- Content catalog → PostgreSQL: persists in (evidence: `README.md`)
- Angular app → My Project: routes to (evidence: `frontend/src/app/app.routes.ts`)
- Angular app → Account pages: routes to (evidence: `frontend/src/app/app.routes.ts`)
- Angular app → Profile pages: routes to (evidence: `frontend/src/app/app.routes.ts`)
- Account pages → Account API: uses account endpoints (evidence: `README.md`)
- Profile pages → Account API: uses personal endpoints (evidence: `README.md`)
- My Project → Account API: saves progress (evidence: `README.md`)
- Account API → Account data: reads and writes (evidence: `backend/app_accounts/api/views.py`)
- Account data → PostgreSQL: persists in (evidence: `README.md`)
- My Project → Roadmap rules: requests roadmap
- Roadmap rules → Content catalog: uses roadmap content
- Reference pages → Request API: submits requests (evidence: `README.md`)
- Request API → Request records: records tickets (evidence: `README.md`)
- Request records → PostgreSQL: persists in (evidence: `README.md`)
- Account API → Email service: sends account email
- Content indexing → Debug guide model: maps debug guides (evidence: `frontend/src/app/core/content/area-content.ts`)
