# anandha-scraper/forge architecture

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

- Interactive diagram: https://gitdiagram.com/anandha-scraper/forge
- Repository: https://github.com/anandha-scraper/forge

## Overview

This repository snapshot is the frontend template and marketing experience for Forge, not the full SaaS control plane or tenant backend. Its visible workflow is a configurable event landing page: visitors browse event categories and schedules, open a participant event preview, and create a local mock registration. A role chooser also opens admin previews for event, payment, registration, and operations screens. The template context mutates in-memory mock state; there are no backend or infrastructure calls in the sampled frontend. The graph preserves README-described platform capabilities as product context, but limits implementation edges to shown frontend wiring.

Main entry points: [`frontend/src/features/template-preview/context/TemplatePreviewContext.jsx`](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/context/TemplatePreviewContext.jsx) (Mock preview state), [`frontend/src/features/landing/LandingPage.jsx`](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/LandingPage.jsx) (Landing page), [`frontend/src/features/landing/components/EventsPreview/EventsPreview.jsx`](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/EventsPreview/EventsPreview.jsx) (Event browsing), [`frontend/src/features/template-preview/components/RoleChooserModal.jsx`](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/components/RoleChooserModal.jsx) (Role chooser)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_landing["Marketing experience"]
  node_landing_page["Landing page<br/>[LandingPage.jsx]"]
  node_landing_content["Landing content<br/>[landing-content.js]"]
  node_event_browse["Event browsing<br/>[EventsPreview.jsx]"]
  node_schedule["Schedule display<br/>[ScheduleFlow.jsx]"]
  node_hero_footer["Hero and contact<br/>[Hero.jsx]"]
end

subgraph group_preview["Role preview"]
  node_role_chooser["Role chooser"]
end

subgraph group_admin["Admin operations"]
  node_admin_overview["Admin overview<br/>[AdminOverview.jsx]"]
  node_admin_events["Event administration<br/>[AdminEvents.jsx]"]
  node_admin_registrations["Registration review"]
  node_admin_payment["Payment settings<br/>[AdminPayment.jsx]"]
end

subgraph group_participant["Participant journey"]
  node_participant_overview["Participant overview"]
  node_event_detail["Event detail"]
  node_participant_regs["My registrations"]
  node_participant_schedule["Personal schedule"]
end

subgraph group_shared["Preview state"]
  node_preview_content["Preview fixtures"]
  node_preview_state["Mock preview state"]
end

node_visitor(("Event visitor"))

node_visitor -->|"opens"| node_landing_page
node_landing_page -->|"renders"| node_event_browse
node_landing_page -->|"renders"| node_schedule
node_landing_page -->|"renders"| node_hero_footer
node_event_browse -->|"reads"| node_landing_content
node_schedule -->|"reads"| node_landing_content
node_landing_page -->|"opens"| node_role_chooser
node_role_chooser -->|"links"| node_admin_overview
node_role_chooser -->|"links"| node_participant_overview
node_event_browse -->|"routes"| node_event_detail
node_admin_overview -.->|"reads"| node_preview_state
node_admin_events -->|"updates"| node_preview_state
node_admin_registrations -.->|"reads"| node_preview_state
node_admin_payment -.->|"updates"| node_preview_state
node_participant_overview -.->|"reads"| node_preview_state
node_event_detail -->|"registers"| node_preview_state
node_participant_regs -.->|"reads"| node_preview_state
node_participant_schedule -.->|"reads"| node_preview_state
node_preview_state -->|"initializes"| node_preview_content
node_admin_events -->|"reads"| node_preview_content
node_event_detail -->|"reads"| node_preview_content

click node_landing_page "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/LandingPage.jsx"
click node_landing_content "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/data/landing-content.js"
click node_event_browse "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/EventsPreview/EventsPreview.jsx"
click node_schedule "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/Schedule/ScheduleFlow.jsx"
click node_hero_footer "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/Hero/Hero.jsx"
click node_role_chooser "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/components/RoleChooserModal.jsx"
click node_admin_overview "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminOverview.jsx"
click node_admin_events "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminEvents.jsx"
click node_admin_registrations "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminRegistrations.jsx"
click node_admin_payment "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminPayment.jsx"
click node_participant_overview "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantOverview.jsx"
click node_event_detail "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantEventDetail.jsx"
click node_participant_regs "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantRegistrations.jsx"
click node_participant_schedule "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantSchedule.jsx"
click node_preview_content "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/data/template-content.js"
click node_preview_state "https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/context/TemplatePreviewContext.jsx"

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_landing_page,node_landing_content,node_event_browse,node_schedule,node_hero_footer toneBlue
class node_role_chooser toneAmber
class node_admin_overview,node_admin_events,node_admin_registrations,node_admin_payment toneMint
class node_participant_overview,node_event_detail,node_participant_regs,node_participant_schedule toneRose
class node_preview_content,node_preview_state,node_visitor toneIndigo
```

## Components

### Marketing experience

- [Landing page](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/LandingPage.jsx): `frontend/src/features/landing/LandingPage.jsx`
- [Landing content](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/data/landing-content.js): `frontend/src/features/landing/data/landing-content.js`
- [Event browsing](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/EventsPreview/EventsPreview.jsx): `frontend/src/features/landing/components/EventsPreview/EventsPreview.jsx`
- [Schedule display](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/Schedule/ScheduleFlow.jsx): `frontend/src/features/landing/components/Schedule/ScheduleFlow.jsx`
- [Hero and contact](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/landing/components/Hero/Hero.jsx): `frontend/src/features/landing/components/Hero/Hero.jsx`

### Role preview

- [Role chooser](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/components/RoleChooserModal.jsx): `frontend/src/features/template-preview/components/RoleChooserModal.jsx`

### Admin operations

- [Admin overview](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminOverview.jsx): `frontend/src/features/template-preview/pages/admin/AdminOverview.jsx`
- [Event administration](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminEvents.jsx): `frontend/src/features/template-preview/pages/admin/AdminEvents.jsx`
- [Registration review](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminRegistrations.jsx): `frontend/src/features/template-preview/pages/admin/AdminRegistrations.jsx`
- [Payment settings](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/admin/AdminPayment.jsx): `frontend/src/features/template-preview/pages/admin/AdminPayment.jsx`

### Participant journey

- [Participant overview](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantOverview.jsx): `frontend/src/features/template-preview/pages/participant/ParticipantOverview.jsx`
- [Event detail](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantEventDetail.jsx): `frontend/src/features/template-preview/pages/participant/ParticipantEventDetail.jsx`
- [My registrations](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantRegistrations.jsx): `frontend/src/features/template-preview/pages/participant/ParticipantRegistrations.jsx`
- [Personal schedule](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/pages/participant/ParticipantSchedule.jsx): `frontend/src/features/template-preview/pages/participant/ParticipantSchedule.jsx`

### Preview state

- [Preview fixtures](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/data/template-content.js): `frontend/src/features/template-preview/data/template-content.js`
- [Mock preview state](https://github.com/anandha-scraper/forge/blob/main/frontend/src/features/template-preview/context/TemplatePreviewContext.jsx): `frontend/src/features/template-preview/context/TemplatePreviewContext.jsx`

### Other components

- **Event visitor**

## Connections

- Event visitor → Landing page: opens
- Landing page → Event browsing: renders (evidence: `frontend/src/features/landing/LandingPage.jsx`)
- Landing page → Schedule display: renders (evidence: `frontend/src/features/landing/LandingPage.jsx`)
- Landing page → Hero and contact: renders (evidence: `frontend/src/features/landing/LandingPage.jsx`)
- Event browsing → Landing content: reads (evidence: `frontend/src/features/landing/components/EventsPreview/EventsPreview.jsx`)
- Schedule display → Landing content: reads (evidence: `frontend/src/features/landing/components/Schedule/ScheduleFlow.jsx`)
- Landing page → Role chooser: opens (evidence: `frontend/src/features/landing/LandingPage.jsx`)
- Role chooser → Admin overview: links
- Role chooser → Participant overview: links
- Event browsing → Event detail: routes
- Admin overview → Mock preview state: reads
- Event administration → Mock preview state: updates (evidence: `frontend/src/features/template-preview/pages/admin/AdminEvents.jsx`)
- Registration review → Mock preview state: reads
- Payment settings → Mock preview state: updates
- Participant overview → Mock preview state: reads
- Event detail → Mock preview state: registers (evidence: `frontend/src/features/template-preview/pages/participant/ParticipantEventDetail.jsx`)
- My registrations → Mock preview state: reads
- Personal schedule → Mock preview state: reads
- Mock preview state → Preview fixtures: initializes (evidence: `frontend/src/features/template-preview/context/TemplatePreviewContext.jsx`)
- Event administration → Preview fixtures: reads (evidence: `frontend/src/features/template-preview/pages/admin/AdminEvents.jsx`)
- Event detail → Preview fixtures: reads (evidence: `frontend/src/features/template-preview/pages/participant/ParticipantEventDetail.jsx`)
