# ioit-acm/ioit-tenet architecture

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

- Interactive diagram: https://gitdiagram.com/ioit-acm/ioit-tenet
- Repository: https://github.com/ioit-acm/ioit-tenet

## Overview

IOIT-TENET 2026 is an event website combining festival information, event discovery, speaker and gallery pages, interactive games, and registrations. Visitors browse year-specific content or search events and speakers; participants can submit esports or experience-zone registrations, while attendance lookup is served separately. The app is organized around Next.js routes, feature modules, and year-based content data. Several route-to-module links and unsampled features are inferred from the tree rather than verified in source, so those relationships are shown as unverified where useful.

Main entry points: [`src/app`](https://github.com/ioit-acm/ioit-tenet/tree/main/src/app) (Page routes), [`src/app/register`](https://github.com/ioit-acm/ioit-tenet/tree/main/src/app/register) (Registration pages), [`src/modules/home`](https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/home) (Home experience), [`src/modules/home/components/search-events.tsx`](https://github.com/ioit-acm/ioit-tenet/blob/main/src/modules/home/components/search-events.tsx) (Search interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Website experience"]
  node_app_routes["Page routes"]
  node_home["Home experience"]
  node_search_ui["Search interface<br/>[search-events.tsx]"]
  node_search_hook["Search data hook<br/>[use-search.ts]"]
end

subgraph group_content["Event content"]
  node_event_pages["Event pages"]
  node_event_data["Year event data"]
  node_speaker_pages["Speaker pages"]
  node_gallery["Gallery<br/>[page.tsx]"]
  node_techfiesta["TechFiesta"]
end

subgraph group_interact["Interactive features"]
  node_denofcode["Den of Code"]
  node_word_game["Word game"]
end

subgraph group_registration["Registration and attendance"]
  node_registration_pages["Registration pages"]
  node_esports_form["Esports form<br/>[page.tsx]"]
  node_experience_form["Experience-zone form<br/>[page.tsx]"]
end

subgraph group_services["API and identity"]
  node_search_api["Search API<br/>[route.ts]"]
  node_esports_api["Esports API<br/>[route.ts]"]
  node_attendance_api["Attendance API<br/>[route.ts]"]
  node_expzone_api["Experience-zone API<br/>[route.ts]"]
  node_auth["Authentication<br/>[auth.ts]"]
  node_sheets[("Google Sheets")]
end

node_visitor(("Visitor"))

node_visitor -.->|"browses"| node_app_routes
node_app_routes -.->|"renders"| node_home
node_app_routes -.->|"routes to"| node_event_pages
node_app_routes -.->|"routes to"| node_speaker_pages
node_app_routes -.->|"routes to"| node_gallery
node_app_routes -.->|"routes to"| node_techfiesta
node_app_routes -.->|"routes to"| node_denofcode
node_app_routes -.->|"routes to"| node_word_game
node_home -.->|"presents"| node_search_ui
node_search_ui -->|"loads"| node_search_hook
node_search_hook -->|"fetches"| node_search_api
node_search_api -->|"reads"| node_event_data
node_app_routes -.->|"routes to"| node_registration_pages
node_registration_pages -.->|"selects"| node_esports_form
node_esports_form -.->|"submits"| node_esports_api
node_esports_api -->|"appends"| node_sheets
node_registration_pages -.->|"routes to"| node_experience_form
node_experience_form -.->|"submits"| node_expzone_api
node_visitor -.->|"requests attendance"| node_attendance_api
node_attendance_api -->|"reads"| node_sheets
node_visitor -.->|"authenticates"| node_auth

click node_app_routes "https://github.com/ioit-acm/ioit-tenet/tree/main/src/app"
click node_home "https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/home"
click node_search_ui "https://github.com/ioit-acm/ioit-tenet/blob/main/src/modules/home/components/search-events.tsx"
click node_event_pages "https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/events"
click node_event_data "https://github.com/ioit-acm/ioit-tenet/tree/main/src/config/data"
click node_speaker_pages "https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/speakers"
click node_gallery "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/%5Byear%5D/gallery/page.tsx"
click node_search_api "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/search/route.ts"
click node_search_hook "https://github.com/ioit-acm/ioit-tenet/blob/main/src/hooks/use-search.ts"
click node_techfiesta "https://github.com/ioit-acm/ioit-tenet/tree/main/src/app/techfiesta"
click node_denofcode "https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/denofcode"
click node_word_game "https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/game"
click node_registration_pages "https://github.com/ioit-acm/ioit-tenet/tree/main/src/app/register"
click node_esports_form "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/register/esports/page.tsx"
click node_experience_form "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/register/experience_zone/page.tsx"
click node_esports_api "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/esports/route.ts"
click node_attendance_api "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/attendance/route.ts"
click node_expzone_api "https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/exp-zone/route.ts"
click node_auth "https://github.com/ioit-acm/ioit-tenet/blob/main/src/server/auth.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_app_routes,node_home,node_search_ui,node_search_hook toneBlue
class node_event_pages,node_event_data,node_speaker_pages,node_gallery,node_techfiesta toneAmber
class node_denofcode,node_word_game toneMint
class node_registration_pages,node_esports_form,node_experience_form toneRose
class node_search_api,node_esports_api,node_attendance_api,node_expzone_api,node_auth,node_sheets,node_visitor toneIndigo
```

## Components

### Website experience

- [Page routes](https://github.com/ioit-acm/ioit-tenet/tree/main/src/app): `src/app`
- [Home experience](https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/home): `src/modules/home`
- [Search interface](https://github.com/ioit-acm/ioit-tenet/blob/main/src/modules/home/components/search-events.tsx): `src/modules/home/components/search-events.tsx`
- [Search data hook](https://github.com/ioit-acm/ioit-tenet/blob/main/src/hooks/use-search.ts): `src/hooks/use-search.ts`

### Event content

- [Event pages](https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/events): `src/modules/events`
- [Year event data](https://github.com/ioit-acm/ioit-tenet/tree/main/src/config/data): `src/config/data`
- [Speaker pages](https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/speakers): `src/modules/speakers`
- [Gallery](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/%5Byear%5D/gallery/page.tsx): `src/app/[year]/gallery/page.tsx`
- [TechFiesta](https://github.com/ioit-acm/ioit-tenet/tree/main/src/app/techfiesta): `src/app/techfiesta`

### Interactive features

- [Den of Code](https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/denofcode): `src/modules/denofcode`
- [Word game](https://github.com/ioit-acm/ioit-tenet/tree/main/src/modules/game): `src/modules/game`

### Registration and attendance

- [Registration pages](https://github.com/ioit-acm/ioit-tenet/tree/main/src/app/register): `src/app/register`
- [Esports form](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/register/esports/page.tsx): `src/app/register/esports/page.tsx`
- [Experience-zone form](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/register/experience_zone/page.tsx): `src/app/register/experience_zone/page.tsx`

### API and identity

- [Search API](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/search/route.ts): `src/app/api/search/route.ts`
- [Esports API](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/esports/route.ts): `src/app/api/esports/route.ts`
- [Attendance API](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/attendance/route.ts): `src/app/api/attendance/route.ts`
- [Experience-zone API](https://github.com/ioit-acm/ioit-tenet/blob/main/src/app/api/exp-zone/route.ts): `src/app/api/exp-zone/route.ts`
- [Authentication](https://github.com/ioit-acm/ioit-tenet/blob/main/src/server/auth.ts): `src/server/auth.ts`
- **Google Sheets**

### Other components

- **Visitor**

## Connections

- Visitor → Page routes: browses
- Page routes → Home experience: renders
- Page routes → Event pages: routes to
- Page routes → Speaker pages: routes to
- Page routes → Gallery: routes to
- Page routes → TechFiesta: routes to (evidence: `src/app/register/page.tsx`)
- Page routes → Den of Code: routes to
- Page routes → Word game: routes to
- Home experience → Search interface: presents
- Search interface → Search data hook: loads (evidence: `src/modules/home/components/search-events.tsx`)
- Search data hook → Search API: fetches (evidence: `src/hooks/use-search.ts`)
- Search API → Year event data: reads (evidence: `src/app/api/search/route.ts`)
- Page routes → Registration pages: routes to (evidence: `src/app/register/esports/page.tsx`)
- Registration pages → Esports form: selects (evidence: `src/app/register/esports/page.tsx`)
- Esports form → Esports API: submits
- Esports API → Google Sheets: appends (evidence: `src/app/api/esports/route.ts`)
- Registration pages → Experience-zone form: routes to
- Experience-zone form → Experience-zone API: submits
- Visitor → Attendance API: requests attendance
- Attendance API → Google Sheets: reads (evidence: `src/app/api/attendance/route.ts`)
- Visitor → Authentication: authenticates
