# chavesfilip/itprati-festive-growth-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/chavesfilip/itprati-festive-growth-2026
- Repository: https://github.com/chavesfilip/itprati-festive-growth-2026

## Overview

iTpraTi Festive Growth 2026 is an operational campaign-planning repository with an initial Next.js dashboard, not a functioning campaign-management system. The intended operational scope spans strategy, editorial planning, ads, referrals, a link contest, creative production and reporting. The current user-facing workflow ends at a static overview: metrics are placeholders and operational areas are marked for implementation. The architecture and initial Supabase migration are documented, but live queries and operational modules are not implemented. Edges below are limited to relationships visible in the excerpts or README; several planned campaign areas have no shown runtime connections.

Main entry points: [`src/components/google-analytics.tsx`](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/components/google-analytics.tsx) (Route tracking), [`src/app/layout.tsx`](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/app/layout.tsx) (App shell), [`src/lib/supabase/client.ts`](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/supabase/client.ts) (Browser client), [`src/lib/supabase/server.ts`](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/supabase/server.ts) (Server client)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_campaign["Campaign planning"]
  node_strategy["Growth strategy"]
  node_editorial["Editorial calendar"]
  node_ads["Ad briefs"]
  node_referral["Referral program"]
  node_contest["Link contest"]
  node_reports["Campaign reports"]
end

subgraph group_creative["Creative production"]
  node_assets["Campaign assets"]
  node_production["Production workflow<br/>[workflow.md]"]
end

subgraph group_web["Web foundation"]
  node_dashboard["Growth dashboard<br/>[page.tsx]"]
  node_app_shell["App shell<br/>[layout.tsx]"]
end

subgraph group_data["Data and measurement"]
  node_ga_component["Route tracking"]
  node_event_helper["Event helper<br/>[analytics.ts]"]
  node_browser_client["Browser client<br/>[client.ts]"]
  node_server_client["Server client<br/>[server.ts]"]
  node_schema[("Initial schema")]
end

node_google_analytics(("Google Analytics"))
node_supabase[("Supabase")]

node_app_shell -->|"renders"| node_ga_component
node_ga_component -->|"sends page views"| node_google_analytics
node_browser_client -->|"creates browser client"| node_supabase
node_server_client -->|"creates server client"| node_supabase
node_schema -.->|"initial migration"| node_supabase

click node_strategy "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/strategy"
click node_editorial "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/editorial-calendar"
click node_ads "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/ads"
click node_referral "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/referral"
click node_contest "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/link-contest"
click node_assets "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/assets"
click node_production "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/production/workflow.md"
click node_reports "https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/reports"
click node_dashboard "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/app/page.tsx"
click node_app_shell "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/app/layout.tsx"
click node_ga_component "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/components/google-analytics.tsx"
click node_event_helper "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/analytics.ts"
click node_browser_client "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/supabase/client.ts"
click node_server_client "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/supabase/server.ts"
click node_schema "https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/supabase/migrations/202611070001_initial_schema.sql"

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_strategy,node_editorial,node_ads,node_referral,node_contest,node_reports toneBlue
class node_assets,node_production,node_supabase toneAmber
class node_dashboard,node_app_shell toneMint
class node_ga_component,node_event_helper,node_browser_client,node_server_client,node_schema toneRose
class node_google_analytics toneIndigo
```

## Components

### Campaign planning

- [Growth strategy](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/strategy): `campaign/strategy`
- [Editorial calendar](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/editorial-calendar): `campaign/editorial-calendar`
- [Ad briefs](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/ads): `campaign/ads`
- [Referral program](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/referral): `campaign/referral`
- [Link contest](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/campaign/link-contest): `campaign/link-contest`
- [Campaign reports](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/reports): `reports`

### Creative production

- [Campaign assets](https://github.com/chavesfilip/itprati-festive-growth-2026/tree/main/assets): `assets`
- [Production workflow](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/production/workflow.md): `production/workflow.md`

### Web foundation

- [Growth dashboard](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/app/page.tsx): `src/app/page.tsx`
- [App shell](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/app/layout.tsx): `src/app/layout.tsx`

### Data and measurement

- [Route tracking](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/components/google-analytics.tsx): `src/components/google-analytics.tsx`
- [Event helper](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/analytics.ts): `src/lib/analytics.ts`
- [Browser client](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/supabase/client.ts): `src/lib/supabase/client.ts`
- [Server client](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/src/lib/supabase/server.ts): `src/lib/supabase/server.ts`
- [Initial schema](https://github.com/chavesfilip/itprati-festive-growth-2026/blob/main/supabase/migrations/202611070001_initial_schema.sql): `supabase/migrations/202611070001_initial_schema.sql`

### Other components

- **Google Analytics**
- **Supabase**

## Connections

- App shell → Route tracking: renders (evidence: `src/app/layout.tsx`)
- Route tracking → Google Analytics: sends page views (evidence: `src/components/google-analytics.tsx`)
- Browser client → Supabase: creates browser client (evidence: `src/lib/supabase/client.ts`)
- Server client → Supabase: creates server client (evidence: `src/lib/supabase/server.ts`)
- Initial schema → Supabase: initial migration (evidence: `README.md`)
