# tercodemagang/frontend-afada architecture

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

- Interactive diagram: https://gitdiagram.com/tercodemagang/frontend-afada
- Repository: https://github.com/tercodemagang/frontend-afada

## Overview

Invito is a React web app for wedding invitations. The visible workflow starts in the app shell and can lead to a guest-facing invitation page, where guests can view invitation details and submit an RSVP/message or digital-envelope action. The app excerpt also shows marketing sections and an analytics chart. The README is empty and much of App.tsx and the guest page is unsampled, so the graph avoids inferring authoring, storage, or payment services; the UI node groups the component library.

Main entry points: [`src/app/App.tsx`](https://github.com/tercodemagang/frontend-afada/blob/main/src/app/App.tsx) (Invito app shell), [`src/pages/GuestInvitationPage.tsx`](https://github.com/tercodemagang/frontend-afada/blob/main/src/pages/GuestInvitationPage.tsx) (Guest invitation page), [`src/main.tsx`](https://github.com/tercodemagang/frontend-afada/blob/main/src/main.tsx) (React entry), [`src/app/components/ui`](https://github.com/tercodemagang/frontend-afada/tree/main/src/app/components/ui) (UI component library)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_application["Application"]
  node_entry["React entry<br/>[main.tsx]"]
  node_app["Invito app shell<br/>[App.tsx]"]
  node_analytics["Invitation analytics<br/>[App.tsx]"]
end

subgraph group_guest["Guest invitation"]
  node_guestpage["Guest invitation page"]
end

subgraph group_ui["UI components"]
  node_ui["UI component library"]
  node_uiutils["Class utilities<br/>[utils.ts]"]
end

node_visitor(("App visitor"))
node_fonts["Google Fonts"]

node_visitor -->|"opens app"| node_entry
node_entry -->|"renders"| node_app
node_app -->|"references"| node_guestpage
node_visitor -.->|"opens invitation"| node_guestpage
node_guestpage -->|"loads fonts"| node_fonts
node_app -->|"renders chart"| node_analytics
node_ui -.->|"uses classes"| node_uiutils

click node_entry "https://github.com/tercodemagang/frontend-afada/blob/main/src/main.tsx"
click node_app "https://github.com/tercodemagang/frontend-afada/blob/main/src/app/App.tsx"
click node_analytics "https://github.com/tercodemagang/frontend-afada/blob/main/src/app/App.tsx"
click node_guestpage "https://github.com/tercodemagang/frontend-afada/blob/main/src/pages/GuestInvitationPage.tsx"
click node_ui "https://github.com/tercodemagang/frontend-afada/tree/main/src/app/components/ui"
click node_uiutils "https://github.com/tercodemagang/frontend-afada/blob/main/src/app/components/ui/utils.ts"

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_entry,node_app,node_analytics toneBlue
class node_guestpage toneAmber
class node_ui,node_uiutils toneMint
class node_visitor,node_fonts toneIndigo
```

## Components

### Application

- [React entry](https://github.com/tercodemagang/frontend-afada/blob/main/src/main.tsx): `src/main.tsx`
- [Invito app shell](https://github.com/tercodemagang/frontend-afada/blob/main/src/app/App.tsx): `src/app/App.tsx`
- [Invitation analytics](https://github.com/tercodemagang/frontend-afada/blob/main/src/app/App.tsx): `src/app/App.tsx`

### Guest invitation

- [Guest invitation page](https://github.com/tercodemagang/frontend-afada/blob/main/src/pages/GuestInvitationPage.tsx): `src/pages/GuestInvitationPage.tsx`

### UI components

- [UI component library](https://github.com/tercodemagang/frontend-afada/tree/main/src/app/components/ui): `src/app/components/ui`
- [Class utilities](https://github.com/tercodemagang/frontend-afada/blob/main/src/app/components/ui/utils.ts): `src/app/components/ui/utils.ts`

### Other components

- **App visitor**
- **Google Fonts**

## Connections

- App visitor → React entry: opens app
- React entry → Invito app shell: renders (evidence: `src/main.tsx`)
- Invito app shell → Guest invitation page: references (evidence: `src/app/App.tsx`)
- App visitor → Guest invitation page: opens invitation
- Guest invitation page → Google Fonts: loads fonts (evidence: `src/pages/GuestInvitationPage.tsx`)
- Invito app shell → Invitation analytics: renders chart (evidence: `src/app/App.tsx`)
- UI component library → Class utilities: uses classes (evidence: `src/app/components/ui/context-menu.tsx`)
