# s1mon009/minimalist-portfolio architecture

> Architecture diagram of the GitHub repository s1mon009/minimalist-portfolio, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-02-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/s1mon009/minimalist-portfolio
- Repository: https://github.com/s1mon009/minimalist-portfolio

## Overview

##### Main Components

A. Frontend Layer:
- Vue Components Structure
- Layout Components
- UI Components (Shadcn-vue based)
- Feature Components (Profile, Projects, etc.)
- Assets (CSS, Images)

B. Content Management Layer:
- Nuxt Content System
- Markdown Files
- JSON Content
- Static Assets

C. Build & Development Infrastructure:
- Vite Build System
- Development Server
- Testing Infrastructure

**┌─────────────────────────────────────────────┐**
- Client Layer                                │
- ┤
- Vue Components (components/)              │
- UI Components                         │
- Feature Components                    │
- Layouts                              │
- Assets (assets/)                         │
- ┘
- ↕
**┌─────────────────────────────────────────────┐**
- Content Management Layer                    │
- ┤
- Nuxt Content                             │
- Markdown (.md)                        │
- JSON Data                             │
- Static Assets                         │
- ┘
- ↕
**┌─────────────────────────────────────────────┐**
- Infrastructure Layer                        │
- ┤
- Nuxt 3 Framework                         │
- Vite Build System                        │
- Testing (Vitest & Cypress)               │
- ┘

##### Important Details

A. Component Relationships:
- How UI components are composed into feature components
- Content flow from Nuxt Content to components
- Demonstrate test coverage across layers

B. Data Flow:
- Content pipeline from markdown/JSON to rendered components
- Static asset handling
- Build process flow

##### Technical Elements to Emphasize

- Nuxt 3 framework architecture
- Content management system
- Component hierarchy
- Build and deployment pipeline
- Testing infrastructure

## Diagram (Mermaid)

```mermaid
graph TB
    subgraph Client
        VueComponents["Vue Components"]
        Layouts["Layout Components"]
        UIComponents["UI Components"]
        FeatureComponents["Feature Components"]
        Assets["Static Assets"]:::assets

        VueComponents --> Layouts
        VueComponents --> UIComponents
        VueComponents --> FeatureComponents

        subgraph UI["UI Components Layer"]
            Badge["Badge"]:::ui
            Button["Button"]:::ui
            Card["Card"]:::ui
            Sheet["Sheet"]:::ui
            Progress["Progress"]:::ui
            Separator["Separator"]:::ui
        end

        subgraph Features["Feature Components Layer"]
            Profile["Profile"]:::feature
            Projects["Projects"]:::feature
            Experience["Experience"]:::feature
            Education["Education"]:::feature
            Courses["Courses"]:::feature
            AboutMe["About Me"]:::feature
        end
    end

    subgraph CMS["Content Management"]
        NuxtContent["Nuxt Content"]
        MarkdownFiles["Markdown Files"]:::content
        JSONData["JSON Data"]:::content
        StaticAssets["Static Assets"]:::content

        NuxtContent --> MarkdownFiles
        NuxtContent --> JSONData
        NuxtContent --> StaticAssets
    end

    subgraph Infrastructure
        Nuxt["Nuxt 3 Framework"]:::infra
        Vite["Vite Build System"]:::infra
        Testing["Testing Infrastructure"]:::infra
        
        subgraph TestingLayer["Testing Layer"]
            ComponentTests["Component Tests"]:::test
            E2ETests["E2E Tests"]:::test
            TestConfigs["Test Configs"]:::test
        end

        subgraph BuildConfig["Build Configuration"]
            NuxtConfig["Nuxt Config"]:::config
            TailwindConfig["Tailwind Config"]:::config
            TypeScriptConfig["TypeScript Config"]:::config
            ContentConfig["Content Config"]:::config
        end
    end

    CMS --> VueComponents
    Infrastructure --> CMS
    Testing --> VueComponents

    %% Click Events
    click Layouts "https://github.com/S1mon009/Minimalist-portfolio/tree/main/layouts"
    click Badge "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/ui/badge"
    click Button "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/ui/button"
    click Card "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/ui/card"
    click Sheet "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/ui/sheet"
    click Progress "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/ui/progress"
    click Separator "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/ui/separator"
    click Profile "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/profile"
    click Projects "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/projects"
    click Experience "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/experience"
    click Education "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/education"
    click Courses "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/courses"
    click AboutMe "https://github.com/S1mon009/Minimalist-portfolio/tree/main/components/about_me"
    click MarkdownFiles "https://github.com/S1mon009/Minimalist-portfolio/tree/main/content"
    click Assets "https://github.com/S1mon009/Minimalist-portfolio/tree/main/public"
    click ComponentTests "https://github.com/S1mon009/Minimalist-portfolio/tree/main/__tests__/components"
    click E2ETests "https://github.com/S1mon009/Minimalist-portfolio/tree/main/cypress/e2e"
    click NuxtConfig "https://github.com/S1mon009/Minimalist-portfolio/blob/main/nuxt.config.ts"
    click TailwindConfig "https://github.com/S1mon009/Minimalist-portfolio/blob/main/tailwind.config.js"
    click TypeScriptConfig "https://github.com/S1mon009/Minimalist-portfolio/blob/main/tsconfig.json"
    click ContentConfig "https://github.com/S1mon009/Minimalist-portfolio/blob/main/content.config.ts"

    %% Styling
    classDef ui fill:#3498db,stroke:#2980b9,color:white
    classDef feature fill:#2ecc71,stroke:#27ae60,color:white
    classDef content fill:#e74c3c,stroke:#c0392b,color:white
    classDef infra fill:#9b59b6,stroke:#8e44ad,color:white
    classDef test fill:#f1c40f,stroke:#f39c12,color:black
    classDef config fill:#1abc9c,stroke:#16a085,color:white
    classDef assets fill:#e67e22,stroke:#d35400,color:white
```
