# hoyychoi/2025-estime-diagram architecture

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

- Interactive diagram: https://gitdiagram.com/hoyychoi/2025-estime-diagram
- Repository: https://github.com/hoyychoi/2025-estime-diagram

## Overview

bether is a frontend for creating scheduling rooms and collecting participants’ availability. The principal flow is room setup and validation, room creation through the API, then opening the resulting check page; there, participants register and submit available times. The check page also presents room and availability data as a timetable and heatmap. The README provides no additional product description, and most page and API implementations were not sampled, so uncertain internal transitions are omitted.

Main entry points: [`frontend/src/pages/CheckEvent/CheckEventPage.tsx`](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/CheckEventPage.tsx) (Availability check page), [`frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts`](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts) (Participant actions), [`frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts`](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts) (Mobile room controller), [`frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts`](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts) (Room submission)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_creation["Room creation"]
  node_creator["Create room controller"]
  node_mobile_creator["Mobile room controller"]
  node_room_submission["Room submission<br/>[useCreateRoom.ts]"]
  node_room_validation["Room validation"]
  node_past_slot_filter["Past slot filter"]
  node_create_funnel["Mobile step funnel<br/>[useFunnel.tsx]"]
  node_create_page["Room setup page"]
end

subgraph group_availability["Availability check"]
  node_check_session["Load room session"]
  node_check_handlers["Participant actions"]
  node_check_page["Availability check page<br/>[CheckEventPage.tsx]"]
  node_heatmap["Availability heatmap<br/>[index.tsx]"]
  node_timetable["Availability timetable<br/>[index.tsx]"]
  node_room_state["Room state<br/>[roomInfoStore.ts]"]
  node_availability_state["Participant availability state"]
  node_participant_names["Participant names<br/>[userNameStore.ts]"]
  node_pagination_state["Timetable pagination<br/>[paginationStore.ts]"]
  node_mode_reducer["Action mode<br/>[modeReducer.ts]"]
  node_modal_reducer["Modal state<br/>[modalReducer.ts]"]
end

subgraph group_integration["API integration"]
  node_room_api["Room API<br/>[room.ts]"]
  node_time_api["Availability API<br/>[time.ts]"]
  node_room_transform["Room response transform"]
end

subgraph group_shared["Shared utilities"]
  node_date_manager["Date utilities<br/>[DateManager.ts]"]
  node_time_manager["Time utilities<br/>[TimeManager.ts]"]
  node_format_manager["Date-time formatting<br/>[FormatManager.ts]"]
end

node_browser_user(("Participant"))

node_creator -->|"submits through"| node_room_submission
node_mobile_creator -->|"submits through"| node_room_submission
node_creator -->|"validates with"| node_room_validation
node_mobile_creator -->|"checks readiness"| node_room_validation
node_mobile_creator -->|"uses steps"| node_create_funnel
node_room_submission -->|"filters payload"| node_past_slot_filter
node_room_submission -->|"creates room"| node_room_api
node_creator -->|"navigates after creation"| node_check_page
node_mobile_creator -->|"navigates after creation"| node_check_page
node_check_session -->|"fetches room"| node_room_api
node_check_session -->|"parses response"| node_room_transform
node_check_session -->|"sets minimum slot"| node_room_state
node_check_handlers -->|"dispatches actions"| node_mode_reducer
node_check_handlers -->|"dispatches actions"| node_modal_reducer
node_check_handlers -->|"reads and updates"| node_availability_state
node_check_handlers -->|"marks login complete"| node_participant_names
node_date_manager -->|"formats dates"| node_format_manager
node_time_manager -->|"parses and formats"| node_format_manager
node_browser_user -.->|"sets up room"| node_create_page
node_browser_user -.->|"submits availability"| node_check_page
node_check_page -.->|"presents availability"| node_heatmap
node_check_page -.->|"presents schedule"| node_timetable
node_check_handlers -.->|"submits availability"| node_time_api
node_check_page -.->|"uses pagination"| node_pagination_state

click node_creator "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useCreateRoomController.ts"
click node_mobile_creator "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts"
click node_room_submission "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts"
click node_room_validation "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/utils/CreateRoomValidator.ts"
click node_past_slot_filter "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/usePastSlotFilter.ts"
click node_create_funnel "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/hooks/Funnel/useFunnel.tsx"
click node_create_page "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/CreateEventPage.tsx"
click node_check_session "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/hooks/useCheckRoomSession.ts"
click node_check_handlers "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts"
click node_check_page "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/CheckEventPage.tsx"
click node_heatmap "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/components/Heatmap/index.tsx"
click node_timetable "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/components/Timetable/index.tsx"
click node_room_state "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/roomInfoStore.ts"
click node_availability_state "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/userAvailabilityStore.ts"
click node_participant_names "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/userNameStore.ts"
click node_pagination_state "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/paginationStore.ts"
click node_mode_reducer "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/reducers/modeReducer.ts"
click node_modal_reducer "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/reducers/modalReducer.ts"
click node_room_api "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/apis/room/room.ts"
click node_time_api "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/apis/time/time.ts"
click node_room_transform "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/apis/transform/fromParseRoomInfo.ts"
click node_date_manager "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/utils/common/DateManager.ts"
click node_time_manager "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/utils/common/TimeManager.ts"
click node_format_manager "https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/utils/common/FormatManager.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_creator,node_mobile_creator,node_room_submission,node_room_validation,node_past_slot_filter,node_create_funnel,node_create_page toneBlue
class node_check_session,node_check_handlers,node_check_page,node_heatmap,node_timetable,node_room_state,node_availability_state,node_participant_names,node_pagination_state,node_mode_reducer,node_modal_reducer toneAmber
class node_room_api,node_time_api,node_room_transform toneMint
class node_date_manager,node_time_manager,node_format_manager toneRose
class node_browser_user toneIndigo
```

## Components

### Room creation

- [Create room controller](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useCreateRoomController.ts): `frontend/src/pages/CreateEvent/hooks/useCreateRoomController.ts`
- [Mobile room controller](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts): `frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts`
- [Room submission](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts): `frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts`
- [Room validation](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/utils/CreateRoomValidator.ts): `frontend/src/pages/CreateEvent/utils/CreateRoomValidator.ts`
- [Past slot filter](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/hooks/usePastSlotFilter.ts): `frontend/src/pages/CreateEvent/hooks/usePastSlotFilter.ts`
- [Mobile step funnel](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/hooks/Funnel/useFunnel.tsx): `frontend/src/shared/hooks/Funnel/useFunnel.tsx`
- [Room setup page](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CreateEvent/CreateEventPage.tsx): `frontend/src/pages/CreateEvent/CreateEventPage.tsx`

### Availability check

- [Load room session](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/hooks/useCheckRoomSession.ts): `frontend/src/pages/CheckEvent/hooks/useCheckRoomSession.ts`
- [Participant actions](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts): `frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts`
- [Availability check page](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/CheckEventPage.tsx): `frontend/src/pages/CheckEvent/CheckEventPage.tsx`
- [Availability heatmap](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/components/Heatmap/index.tsx): `frontend/src/pages/CheckEvent/components/Heatmap/index.tsx`
- [Availability timetable](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/components/Timetable/index.tsx): `frontend/src/pages/CheckEvent/components/Timetable/index.tsx`
- [Room state](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/roomInfoStore.ts): `frontend/src/pages/CheckEvent/stores/roomInfoStore.ts`
- [Participant availability state](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/userAvailabilityStore.ts): `frontend/src/pages/CheckEvent/stores/userAvailabilityStore.ts`
- [Participant names](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/userNameStore.ts): `frontend/src/pages/CheckEvent/stores/userNameStore.ts`
- [Timetable pagination](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/stores/paginationStore.ts): `frontend/src/pages/CheckEvent/stores/paginationStore.ts`
- [Action mode](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/reducers/modeReducer.ts): `frontend/src/pages/CheckEvent/reducers/modeReducer.ts`
- [Modal state](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/pages/CheckEvent/reducers/modalReducer.ts): `frontend/src/pages/CheckEvent/reducers/modalReducer.ts`

### API integration

- [Room API](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/apis/room/room.ts): `frontend/src/apis/room/room.ts`
- [Availability API](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/apis/time/time.ts): `frontend/src/apis/time/time.ts`
- [Room response transform](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/apis/transform/fromParseRoomInfo.ts): `frontend/src/apis/transform/fromParseRoomInfo.ts`

### Shared utilities

- [Date utilities](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/utils/common/DateManager.ts): `frontend/src/shared/utils/common/DateManager.ts`
- [Time utilities](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/utils/common/TimeManager.ts): `frontend/src/shared/utils/common/TimeManager.ts`
- [Date-time formatting](https://github.com/hoyychoi/2025-estime-diagram/blob/main/frontend/src/shared/utils/common/FormatManager.ts): `frontend/src/shared/utils/common/FormatManager.ts`

### Other components

- **Participant**

## Connections

- Create room controller → Room submission: submits through (evidence: `frontend/src/pages/CreateEvent/hooks/useCreateRoomController.ts`)
- Mobile room controller → Room submission: submits through (evidence: `frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts`)
- Create room controller → Room validation: validates with (evidence: `frontend/src/pages/CreateEvent/hooks/useCreateRoomController.ts`)
- Mobile room controller → Room validation: checks readiness (evidence: `frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts`)
- Mobile room controller → Mobile step funnel: uses steps (evidence: `frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts`)
- Room submission → Past slot filter: filters payload (evidence: `frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts`)
- Room submission → Room API: creates room (evidence: `frontend/src/pages/CreateEvent/hooks/useCreateRoom.ts`)
- Create room controller → Availability check page: navigates after creation (evidence: `frontend/src/pages/CreateEvent/hooks/useCreateRoomController.ts`)
- Mobile room controller → Availability check page: navigates after creation (evidence: `frontend/src/pages/CreateEvent/hooks/useMobileCreateRoomController.ts`)
- Load room session → Room API: fetches room (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckRoomSession.ts`)
- Load room session → Room response transform: parses response (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckRoomSession.ts`)
- Load room session → Room state: sets minimum slot (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckRoomSession.ts`)
- Participant actions → Action mode: dispatches actions (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts`)
- Participant actions → Modal state: dispatches actions (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts`)
- Participant actions → Participant availability state: reads and updates (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts`)
- Participant actions → Participant names: marks login complete (evidence: `frontend/src/pages/CheckEvent/hooks/useCheckEventHandlers.ts`)
- Date utilities → Date-time formatting: formats dates (evidence: `frontend/src/shared/utils/common/DateManager.ts`)
- Time utilities → Date-time formatting: parses and formats (evidence: `frontend/src/shared/utils/common/TimeManager.ts`)
- Participant → Room setup page: sets up room
- Participant → Availability check page: submits availability
- Availability check page → Availability heatmap: presents availability
- Availability check page → Availability timetable: presents schedule
- Participant actions → Availability API: submits availability
- Availability check page → Timetable pagination: uses pagination
