# kamiamiga/portfolio2026 architecture

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

- Interactive diagram: https://gitdiagram.com/kamiamiga/portfolio2026
- Repository: https://github.com/kamiamiga/portfolio2026

## Overview

This repository is a Nuxt portfolio backed by Strapi. The main workflow is editorial content in Strapi, retrieval through its API, export of page JSON and media, then visitor-facing Nuxt pages. The graph preserves the documented portfolio sections and project details, plus the frontend animation and transition layer. Relationships among unsampled route and template files are not asserted; links are limited to explicit README or excerpt evidence.

Main entry points: [`frontend/app/pages`](https://github.com/kamiamiga/portfolio2026/tree/main/frontend/app/pages) (Portfolio routes), [`index.mjs`](https://github.com/kamiamiga/portfolio2026/blob/main/index.mjs) (JSON exporter), [`backend/src/index.ts`](https://github.com/kamiamiga/portfolio2026/blob/main/backend/src/index.ts) (Strapi runtime), [`frontend/content.config.ts`](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/content.config.ts) (Content collections)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Strapi authoring"]
  node_strapi["Strapi runtime<br/>[index.ts]"]
  node_content_api["Portfolio content APIs"]
  node_database[("Content database<br/>[database.ts]")]
end

subgraph group_export["Content export"]
  node_exporter["JSON exporter<br/>[index.mjs]"]
  node_media_copy["Media export<br/>[package.json]"]
end

subgraph group_site["Nuxt portfolio"]
  node_content_layer["Content collections<br/>[content.config.ts]"]
  node_page_routes["Portfolio routes"]
  node_home_page["Homepage"]
  node_about_page["About page"]
  node_projects_list["Projects listing"]
  node_project_detail["Project details"]
  node_shops_page["Shops page"]
  node_layout["Application layout<br/>[app.vue]"]
end

subgraph group_motion["Motion and presentation"]
  node_transitions["Page transitions"]
  node_grid_animation["Grid animation"]
  node_home_building["Homepage project display"]
end

node_editor(("Content editor"))
node_visitor(("Site visitor"))

node_editor -->|"authors content"| node_strapi
node_strapi -->|"serves API data"| node_exporter
node_exporter -->|"fetches entries"| node_content_api
node_exporter -->|"writes page JSON"| node_content_layer
node_exporter -->|"exports media"| node_media_copy
node_visitor -.->|"opens pages"| node_page_routes
node_content_layer -->|"supplies content"| node_page_routes
node_page_routes -.->|"renders"| node_home_page
node_page_routes -.->|"renders"| node_about_page
node_page_routes -.->|"renders"| node_projects_list
node_page_routes -->|"renders"| node_project_detail
node_page_routes -.->|"renders"| node_shops_page
node_visitor -.->|"uses site"| node_layout
node_layout -->|"configures transitions"| node_transitions
node_home_building -->|"renders"| node_grid_animation

click node_strapi "https://github.com/kamiamiga/portfolio2026/blob/main/backend/src/index.ts"
click node_content_api "https://github.com/kamiamiga/portfolio2026/tree/main/backend/src/api"
click node_database "https://github.com/kamiamiga/portfolio2026/blob/main/backend/config/database.ts"
click node_exporter "https://github.com/kamiamiga/portfolio2026/blob/main/index.mjs"
click node_media_copy "https://github.com/kamiamiga/portfolio2026/blob/main/package.json"
click node_content_layer "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/content.config.ts"
click node_page_routes "https://github.com/kamiamiga/portfolio2026/tree/main/frontend/app/pages"
click node_home_page "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/HomepageTemplate.vue"
click node_about_page "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/AboutPageTemplate.vue"
click node_projects_list "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/ProjectsListPageTemplate.vue"
click node_project_detail "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/ProjectPageTemplate.vue"
click node_shops_page "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/ShopsPageTemplate.vue"
click node_layout "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/app.vue"
click node_transitions "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/helpers/pageTransitionConfig.ts"
click node_grid_animation "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/molecules/GridAnimWrapper.vue"
click node_home_building "https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/molecules/HomeFrontBuilding.vue"

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_strapi,node_content_api,node_database toneBlue
class node_exporter,node_media_copy toneAmber
class node_content_layer,node_page_routes,node_home_page,node_about_page,node_projects_list,node_project_detail,node_shops_page,node_layout toneMint
class node_transitions,node_grid_animation,node_home_building toneRose
class node_editor,node_visitor toneIndigo
```

## Components

### Strapi authoring

- [Strapi runtime](https://github.com/kamiamiga/portfolio2026/blob/main/backend/src/index.ts): `backend/src/index.ts`
- [Portfolio content APIs](https://github.com/kamiamiga/portfolio2026/tree/main/backend/src/api): `backend/src/api`
- [Content database](https://github.com/kamiamiga/portfolio2026/blob/main/backend/config/database.ts): `backend/config/database.ts`

### Content export

- [JSON exporter](https://github.com/kamiamiga/portfolio2026/blob/main/index.mjs): `index.mjs`
- [Media export](https://github.com/kamiamiga/portfolio2026/blob/main/package.json): `package.json`

### Nuxt portfolio

- [Content collections](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/content.config.ts): `frontend/content.config.ts`
- [Portfolio routes](https://github.com/kamiamiga/portfolio2026/tree/main/frontend/app/pages): `frontend/app/pages`
- [Homepage](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/HomepageTemplate.vue): `frontend/app/components/templates/HomepageTemplate.vue`
- [About page](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/AboutPageTemplate.vue): `frontend/app/components/templates/AboutPageTemplate.vue`
- [Projects listing](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/ProjectsListPageTemplate.vue): `frontend/app/components/templates/ProjectsListPageTemplate.vue`
- [Project details](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/ProjectPageTemplate.vue): `frontend/app/components/templates/ProjectPageTemplate.vue`
- [Shops page](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/templates/ShopsPageTemplate.vue): `frontend/app/components/templates/ShopsPageTemplate.vue`
- [Application layout](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/app.vue): `frontend/app/app.vue`

### Motion and presentation

- [Page transitions](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/helpers/pageTransitionConfig.ts): `frontend/app/helpers/pageTransitionConfig.ts`
- [Grid animation](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/molecules/GridAnimWrapper.vue): `frontend/app/components/molecules/GridAnimWrapper.vue`
- [Homepage project display](https://github.com/kamiamiga/portfolio2026/blob/main/frontend/app/components/molecules/HomeFrontBuilding.vue): `frontend/app/components/molecules/HomeFrontBuilding.vue`

### Other components

- **Content editor**
- **Site visitor**

## Connections

- Content editor → Strapi runtime: authors content
- Strapi runtime → JSON exporter: serves API data
- JSON exporter → Portfolio content APIs: fetches entries (evidence: `index.mjs`)
- JSON exporter → Content collections: writes page JSON (evidence: `index.mjs`)
- JSON exporter → Media export: exports media (evidence: `package.json`)
- Site visitor → Portfolio routes: opens pages
- Content collections → Portfolio routes: supplies content
- Portfolio routes → Homepage: renders
- Portfolio routes → About page: renders
- Portfolio routes → Projects listing: renders
- Portfolio routes → Project details: renders (evidence: `frontend/app/pages/projets/[slug].vue`)
- Portfolio routes → Shops page: renders
- Site visitor → Application layout: uses site
- Application layout → Page transitions: configures transitions (evidence: `frontend/app/helpers/pageTransitionConfig.ts`)
- Homepage project display → Grid animation: renders (evidence: `frontend/app/components/molecules/HomeFrontBuilding.vue`)
