# team-alimi/in-form_frontend architecture

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

- Interactive diagram: https://gitdiagram.com/team-alimi/in-form_frontend
- Repository: https://github.com/team-alimi/in-form_frontend

## Overview

INFORM is a campus information curation frontend for Inha University. Users discover scheduled announcements and events through a calendar or searchable, filterable event list, then view details, bookmark items, and manage profile interests. Administrators review, stage, publish, or trash announcements and manage related content. The graph follows documented routes and capabilities; where source excerpts do not establish a direct call, documented relationships are cited to the README or omitted.

Main entry points: [`src/App.jsx`](https://github.com/team-alimi/in-form_frontend/blob/dev/src/App.jsx) (Routes and shell), [`src/pages/manage/MANURV/MANURVPage.tsx`](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANURV/MANURVPage.tsx) (Review and staged), [`src/pages/main/EVL/EVLPage.jsx`](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/EVL/EVLPage.jsx) (Event discovery), [`src/pages/manage/MANGBG/MANGBGPage.tsx`](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANGBG/MANGBGPage.tsx) (Trash management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_user["User experience"]
  node_calendar["Calendar home<br/>[HOMPage.jsx]"]
  node_event_list["Event discovery<br/>[EVLPage.jsx]"]
  node_search["Search controls<br/>[SearchBar.jsx]"]
  node_event_detail["Event details<br/>[EVDPage.jsx]"]
  node_clubs["Club browsing<br/>[CBLPage.jsx]"]
  node_profile["Profile interests<br/>[MYPEditPage.jsx]"]
  node_tab_bar["Desktop navigation<br/>[TabBar.jsx]"]
end

subgraph group_admin["Administration"]
  node_manage_home["Admin dashboard<br/>[MANHOMPage.tsx]"]
  node_review_pages["Review and staged<br/>[MANURVPage.tsx]"]
  node_trash_page["Trash management<br/>[MANGBGPage.tsx]"]
  node_editor["Article editor<br/>[MANDTEPage.tsx]"]
  node_manage_nav["Admin navigation"]
  node_review_table["Review table"]
  node_category_badge["Category badge<br/>[CategoryBadge.tsx]"]
end

subgraph group_shared["Shared application"]
  node_app["Routes and shell<br/>[App.jsx]"]
  node_device["Device state<br/>[deviceStore.js]"]
  node_auth[("Auth state<br/>[useAuthStore.js]")]
  node_search_history[("Search history")]
  node_trash_filters["Trash filters<br/>[trashFilters.ts]"]
end

subgraph group_api["API access"]
  node_user_api["User API<br/>[user.js]"]
  node_vendor_api["Vendor API<br/>[vendors.js]"]
  node_http["HTTP client<br/>[axios.js]"]
  node_dashboard_api["Admin article API<br/>[dashboard.ts]"]
  node_review_api["Review actions<br/>[review.ts]"]
end

node_visitor(("Visitor"))
node_admin_user(("Administrator"))
node_backend{{"INFORM backend"}}

node_visitor -->|"opens"| node_app
node_admin_user -->|"opens"| node_app
node_app -->|"routes to"| node_calendar
node_app -->|"routes to"| node_event_list
node_app -->|"routes to"| node_event_detail
node_app -->|"routes to"| node_clubs
node_app -->|"routes to"| node_profile
node_app -->|"routes to"| node_manage_home
node_app -->|"routes to"| node_review_pages
node_app -->|"routes to"| node_trash_page
node_app -->|"routes to"| node_editor
node_app -->|"initializes"| node_device
node_event_list -->|"renders"| node_search
node_event_list -->|"uses"| node_search_history
node_event_list -->|"renders"| node_tab_bar
node_profile -->|"loads and saves"| node_user_api
node_profile -->|"loads vendors"| node_vendor_api
node_user_api -->|"uses"| node_http
node_vendor_api -->|"uses"| node_http
node_dashboard_api -->|"uses"| node_http
node_review_api -->|"delegates"| node_dashboard_api
node_manage_home -->|"queries and acts"| node_dashboard_api
node_review_pages -->|"renders"| node_review_table
node_review_pages -->|"loads and acts"| node_review_api
node_review_table -->|"renders"| node_category_badge
node_trash_page -->|"uses"| node_trash_filters
node_trash_page -->|"loads articles"| node_dashboard_api
node_manage_home -->|"renders"| node_manage_nav
node_review_pages -->|"renders"| node_manage_nav
node_trash_page -->|"renders"| node_manage_nav
node_editor -.->|"navigates with"| node_manage_nav
node_http -->|"sends requests"| node_backend
node_auth -->|"supplies tokens"| node_http
node_calendar -.->|"supports discovery"| node_event_list
node_event_detail -.->|"loads and updates event"| node_backend
node_manage_home -.->|"tracks review stages"| node_review_pages
node_review_pages -.->|"moves items to trash"| node_trash_page
node_editor -.->|"manages articles"| node_dashboard_api

click node_app "https://github.com/team-alimi/in-form_frontend/blob/dev/src/App.jsx"
click node_device "https://github.com/team-alimi/in-form_frontend/blob/dev/src/stores/deviceStore.js"
click node_auth "https://github.com/team-alimi/in-form_frontend/blob/dev/src/stores/useAuthStore.js"
click node_calendar "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/HOM/HOMPage.jsx"
click node_event_list "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/EVL/EVLPage.jsx"
click node_search "https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/main/adaptive/common/SearchBar.jsx"
click node_search_history "https://github.com/team-alimi/in-form_frontend/blob/dev/src/hooks/useSearchHistory.js"
click node_event_detail "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/EVD/EVDPage.jsx"
click node_clubs "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/CBL/CBLPage.jsx"
click node_profile "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/MYP/MYPEditPage.jsx"
click node_user_api "https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/main/user.js"
click node_vendor_api "https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/main/vendors.js"
click node_http "https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/axios.js"
click node_manage_home "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANHOM/MANHOMPage.tsx"
click node_review_pages "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANURV/MANURVPage.tsx"
click node_trash_page "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANGBG/MANGBGPage.tsx"
click node_editor "https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANDTE/MANDTEPage.tsx"
click node_manage_nav "https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/manage/common/ManageNavigation.tsx"
click node_review_table "https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/manage/common/ReviewArticleTable.tsx"
click node_category_badge "https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/manage/common/CategoryBadge.tsx"
click node_dashboard_api "https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/manage/dashboard.ts"
click node_review_api "https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/manage/review.ts"
click node_trash_filters "https://github.com/team-alimi/in-form_frontend/blob/dev/src/utils/manage/trashFilters.ts"
click node_tab_bar "https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/main/desktop/common/TabBar.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_calendar,node_event_list,node_search,node_event_detail,node_clubs,node_profile,node_tab_bar toneBlue
class node_manage_home,node_review_pages,node_trash_page,node_editor,node_manage_nav,node_review_table,node_category_badge toneAmber
class node_app,node_device,node_auth,node_search_history,node_trash_filters toneMint
class node_user_api,node_vendor_api,node_http,node_dashboard_api,node_review_api toneRose
class node_visitor,node_admin_user,node_backend toneIndigo
```

## Components

### User experience

- [Calendar home](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/HOM/HOMPage.jsx): `src/pages/main/HOM/HOMPage.jsx`
- [Event discovery](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/EVL/EVLPage.jsx): `src/pages/main/EVL/EVLPage.jsx`
- [Search controls](https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/main/adaptive/common/SearchBar.jsx): `src/components/main/adaptive/common/SearchBar.jsx`
- [Event details](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/EVD/EVDPage.jsx): `src/pages/main/EVD/EVDPage.jsx`
- [Club browsing](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/CBL/CBLPage.jsx): `src/pages/main/CBL/CBLPage.jsx`
- [Profile interests](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/main/MYP/MYPEditPage.jsx): `src/pages/main/MYP/MYPEditPage.jsx`
- [Desktop navigation](https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/main/desktop/common/TabBar.jsx): `src/components/main/desktop/common/TabBar.jsx`

### Administration

- [Admin dashboard](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANHOM/MANHOMPage.tsx): `src/pages/manage/MANHOM/MANHOMPage.tsx`
- [Review and staged](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANURV/MANURVPage.tsx): `src/pages/manage/MANURV/MANURVPage.tsx`
- [Trash management](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANGBG/MANGBGPage.tsx): `src/pages/manage/MANGBG/MANGBGPage.tsx`
- [Article editor](https://github.com/team-alimi/in-form_frontend/blob/dev/src/pages/manage/MANDTE/MANDTEPage.tsx): `src/pages/manage/MANDTE/MANDTEPage.tsx`
- [Admin navigation](https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/manage/common/ManageNavigation.tsx): `src/components/manage/common/ManageNavigation.tsx`
- [Review table](https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/manage/common/ReviewArticleTable.tsx): `src/components/manage/common/ReviewArticleTable.tsx`
- [Category badge](https://github.com/team-alimi/in-form_frontend/blob/dev/src/components/manage/common/CategoryBadge.tsx): `src/components/manage/common/CategoryBadge.tsx`

### Shared application

- [Routes and shell](https://github.com/team-alimi/in-form_frontend/blob/dev/src/App.jsx): `src/App.jsx`
- [Device state](https://github.com/team-alimi/in-form_frontend/blob/dev/src/stores/deviceStore.js): `src/stores/deviceStore.js`
- [Auth state](https://github.com/team-alimi/in-form_frontend/blob/dev/src/stores/useAuthStore.js): `src/stores/useAuthStore.js`
- [Search history](https://github.com/team-alimi/in-form_frontend/blob/dev/src/hooks/useSearchHistory.js): `src/hooks/useSearchHistory.js`
- [Trash filters](https://github.com/team-alimi/in-form_frontend/blob/dev/src/utils/manage/trashFilters.ts): `src/utils/manage/trashFilters.ts`

### API access

- [User API](https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/main/user.js): `src/api/main/user.js`
- [Vendor API](https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/main/vendors.js): `src/api/main/vendors.js`
- [HTTP client](https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/axios.js): `src/api/axios.js`
- [Admin article API](https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/manage/dashboard.ts): `src/api/manage/dashboard.ts`
- [Review actions](https://github.com/team-alimi/in-form_frontend/blob/dev/src/api/manage/review.ts): `src/api/manage/review.ts`

### Other components

- **Visitor**
- **Administrator**
- **INFORM backend**

## Connections

- Visitor → Routes and shell: opens
- Administrator → Routes and shell: opens (evidence: `src/App.jsx`)
- Routes and shell → Calendar home: routes to (evidence: `src/App.jsx`)
- Routes and shell → Event discovery: routes to (evidence: `src/App.jsx`)
- Routes and shell → Event details: routes to (evidence: `src/App.jsx`)
- Routes and shell → Club browsing: routes to (evidence: `src/App.jsx`)
- Routes and shell → Profile interests: routes to (evidence: `src/App.jsx`)
- Routes and shell → Admin dashboard: routes to (evidence: `src/App.jsx`)
- Routes and shell → Review and staged: routes to (evidence: `src/App.jsx`)
- Routes and shell → Trash management: routes to (evidence: `src/App.jsx`)
- Routes and shell → Article editor: routes to (evidence: `src/App.jsx`)
- Routes and shell → Device state: initializes (evidence: `src/App.jsx`)
- Event discovery → Search controls: renders (evidence: `src/pages/main/EVL/EVLPage.jsx`)
- Event discovery → Search history: uses (evidence: `src/pages/main/EVL/EVLPage.jsx`)
- Event discovery → Desktop navigation: renders (evidence: `src/pages/main/EVL/EVLPage.jsx`)
- Profile interests → User API: loads and saves (evidence: `src/pages/main/MYP/MYPEditPage.jsx`)
- Profile interests → Vendor API: loads vendors (evidence: `src/pages/main/MYP/MYPEditPage.jsx`)
- User API → HTTP client: uses (evidence: `src/api/main/user.js`)
- Vendor API → HTTP client: uses (evidence: `src/api/main/vendors.js`)
- Admin article API → HTTP client: uses (evidence: `src/api/manage/dashboard.ts`)
- Review actions → Admin article API: delegates (evidence: `src/api/manage/review.ts`)
- Admin dashboard → Admin article API: queries and acts (evidence: `src/pages/manage/MANHOM/MANHOMPage.tsx`)
- Review and staged → Review table: renders (evidence: `src/pages/manage/MANURV/MANURVPage.tsx`)
- Review and staged → Review actions: loads and acts (evidence: `src/pages/manage/MANURV/MANURVPage.tsx`)
- Review table → Category badge: renders (evidence: `src/components/manage/common/ReviewArticleTable.tsx`)
- Trash management → Trash filters: uses (evidence: `src/pages/manage/MANGBG/MANGBGPage.tsx`)
- Trash management → Admin article API: loads articles (evidence: `src/pages/manage/MANGBG/MANGBGPage.tsx`)
- Admin dashboard → Admin navigation: renders (evidence: `src/pages/manage/MANHOM/MANHOMPage.tsx`)
- Review and staged → Admin navigation: renders (evidence: `src/pages/manage/MANURV/MANURVPage.tsx`)
- Trash management → Admin navigation: renders (evidence: `src/pages/manage/MANGBG/MANGBGPage.tsx`)
- Article editor → Admin navigation: navigates with
- HTTP client → INFORM backend: sends requests (evidence: `src/api/axios.js`)
- Auth state → HTTP client: supplies tokens (evidence: `src/api/axios.js`)
- Calendar home → Event discovery: supports discovery
- Event details → INFORM backend: loads and updates event
- Admin dashboard → Review and staged: tracks review stages
- Review and staged → Trash management: moves items to trash
- Article editor → Admin article API: manages articles
