# hanshhx/pop-spot architecture

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

- Interactive diagram: https://gitdiagram.com/hanshhx/pop-spot
- Repository: https://github.com/hanshhx/pop-spot

## Overview

POP-SPOT helps people discover Seoul pop-up stores, check their locations and dates, and plan visits. The main web flow is browsing/searching listings, viewing them on a map or detail page, then saving places and building a route. The repository also includes a companion mobile app, music and passport features, and administration tools. The README documents the discovery and planning capabilities; sampled mobile source shows its feed-to-detail flow. Backend implementation files were not provided, so backend internals are not mapped.

Main entry points: [`popspot-app/src/screens/HomeScreen.tsx`](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/HomeScreen.tsx) (Mobile popup feed), [`popspot-app/src/screens/DetailScreen.tsx`](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/DetailScreen.tsx) (Mobile details), [`popspot-app/App.tsx`](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/App.tsx) (Mobile navigation), [`popspot-app/src/navigation/Tabs.tsx`](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/navigation/Tabs.tsx) (Mobile tabs)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web discovery"]
  node_home["Home and browse<br/>[HomeClient.tsx]"]
  node_search["Popup search"]
  node_map["Popup map"]
  node_detail["Popup details"]
  node_languages["Localized pages<br/>[i18n.tsx]"]
end

subgraph group_planning["Planning and engagement"]
  node_schedule["Visit planning"]
  node_wishlist["Saved places"]
  node_music["Popup music"]
  node_passport["Visit passport<br/>[PassportView.tsx]"]
  node_feedback["User feedback"]
end

subgraph group_platform["Platform services"]
  node_admin["Admin console<br/>[page.tsx]"]
  node_api_proxy["API proxy<br/>[route.ts]"]
  node_backend["POP-SPOT backend"]
end

subgraph group_mobile["Mobile app"]
  node_mobile_app["Mobile navigation<br/>[App.tsx]"]
  node_mobile_tabs["Mobile tabs<br/>[Tabs.tsx]"]
  node_mobile_home["Mobile popup feed<br/>[HomeScreen.tsx]"]
  node_mobile_card["Mobile popup card<br/>[PopupCard.tsx]"]
  node_mobile_detail["Mobile details<br/>[DetailScreen.tsx]"]
  node_mobile_api["Mobile API client<br/>[api.ts]"]
  node_mobile_helpers["Mobile popup helpers<br/>[lib.ts]"]
  node_mobile_stub["Mobile feature stubs<br/>[StubScreen.tsx]"]
  node_mobile_background["Background video<br/>[BgVideo.tsx]"]
  node_mobile_glass["Glass UI<br/>[Glass.tsx]"]
  node_mobile_theme["Mobile theme<br/>[theme.ts]"]
  node_mobile_types["Mobile data types<br/>[types.ts]"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_home
node_visitor -->|"searches"| node_search
node_visitor -->|"views locations"| node_map
node_visitor -->|"checks details"| node_detail
node_visitor -->|"plans visits"| node_schedule
node_home -.->|"opens listing"| node_detail
node_search -.->|"finds listing"| node_detail
node_visitor -.->|"chooses language"| node_languages
node_visitor -->|"saves places"| node_wishlist
node_visitor -.->|"plays music"| node_music
node_visitor -.->|"collects visits"| node_passport
node_visitor -.->|"sends feedback"| node_feedback
node_visitor -.->|"administers"| node_admin
node_api_proxy -.->|"forwards requests"| node_backend
node_mobile_app -->|"hosts tabs"| node_mobile_tabs
node_mobile_app -->|"registers detail"| node_mobile_detail
node_mobile_app -->|"renders backdrop"| node_mobile_background
node_mobile_tabs -->|"shows feed"| node_mobile_home
node_mobile_tabs -->|"shows placeholders"| node_mobile_stub
node_mobile_home -->|"fetches popups"| node_mobile_api
node_mobile_home -->|"renders cards"| node_mobile_card
node_mobile_home -->|"opens selected popup"| node_mobile_detail
node_mobile_card -->|"formats popup data"| node_mobile_helpers
node_mobile_detail -->|"formats popup data"| node_mobile_helpers
node_mobile_home -->|"renders header"| node_mobile_glass
node_mobile_detail -->|"renders information card"| node_mobile_glass
node_mobile_api -->|"requests popup data"| node_backend

click node_home "https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/HomeClient.tsx"
click node_search "https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/popup"
click node_map "https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/components/Map"
click node_detail "https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/(ko)/popup/%5Bid%5D/PopupDetailClient.tsx"
click node_languages "https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/src/lib/i18n.tsx"
click node_schedule "https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/schedule"
click node_wishlist "https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/popup"
click node_music "https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/components/music"
click node_passport "https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/src/components/Passport/PassportView.tsx"
click node_feedback "https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/feedback"
click node_admin "https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/(ko)/admin/page.tsx"
click node_api_proxy "https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/api/%5B...path%5D/route.ts"
click node_backend "https://github.com/hanshhx/pop-spot/tree/main/popspot-backend"
click node_mobile_app "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/App.tsx"
click node_mobile_tabs "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/navigation/Tabs.tsx"
click node_mobile_home "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/HomeScreen.tsx"
click node_mobile_card "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/components/PopupCard.tsx"
click node_mobile_detail "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/DetailScreen.tsx"
click node_mobile_api "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/api.ts"
click node_mobile_helpers "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/lib.ts"
click node_mobile_stub "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/StubScreen.tsx"
click node_mobile_background "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/components/BgVideo.tsx"
click node_mobile_glass "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/components/Glass.tsx"
click node_mobile_theme "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/theme.ts"
click node_mobile_types "https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/types.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_home,node_search,node_map,node_detail,node_languages toneBlue
class node_schedule,node_wishlist,node_music,node_passport,node_feedback toneAmber
class node_admin,node_api_proxy,node_backend toneMint
class node_mobile_app,node_mobile_tabs,node_mobile_home,node_mobile_card,node_mobile_detail,node_mobile_api,node_mobile_helpers,node_mobile_stub,node_mobile_background,node_mobile_glass,node_mobile_theme,node_mobile_types toneRose
class node_visitor toneIndigo
```

## Components

### Web discovery

- [Home and browse](https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/HomeClient.tsx): `popspot-frontend/app/HomeClient.tsx`
- [Popup search](https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/popup): `popspot-frontend/src/features/popup`
- [Popup map](https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/components/Map): `popspot-frontend/src/components/Map`
- [Popup details](https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/(ko)/popup/%5Bid%5D/PopupDetailClient.tsx): `popspot-frontend/app/(ko)/popup/[id]/PopupDetailClient.tsx`
- [Localized pages](https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/src/lib/i18n.tsx): `popspot-frontend/src/lib/i18n.tsx`

### Planning and engagement

- [Visit planning](https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/schedule): `popspot-frontend/src/features/schedule`
- [Saved places](https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/popup): `popspot-frontend/src/features/popup`
- [Popup music](https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/components/music): `popspot-frontend/src/components/music`
- [Visit passport](https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/src/components/Passport/PassportView.tsx): `popspot-frontend/src/components/Passport/PassportView.tsx`
- [User feedback](https://github.com/hanshhx/pop-spot/tree/main/popspot-frontend/src/features/feedback): `popspot-frontend/src/features/feedback`

### Platform services

- [Admin console](https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/(ko)/admin/page.tsx): `popspot-frontend/app/(ko)/admin/page.tsx`
- [API proxy](https://github.com/hanshhx/pop-spot/blob/main/popspot-frontend/app/api/%5B...path%5D/route.ts): `popspot-frontend/app/api/[...path]/route.ts`
- [POP-SPOT backend](https://github.com/hanshhx/pop-spot/tree/main/popspot-backend): `popspot-backend`

### Mobile app

- [Mobile navigation](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/App.tsx): `popspot-app/App.tsx`
- [Mobile tabs](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/navigation/Tabs.tsx): `popspot-app/src/navigation/Tabs.tsx`
- [Mobile popup feed](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/HomeScreen.tsx): `popspot-app/src/screens/HomeScreen.tsx`
- [Mobile popup card](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/components/PopupCard.tsx): `popspot-app/src/components/PopupCard.tsx`
- [Mobile details](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/DetailScreen.tsx): `popspot-app/src/screens/DetailScreen.tsx`
- [Mobile API client](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/api.ts): `popspot-app/src/api.ts`
- [Mobile popup helpers](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/lib.ts): `popspot-app/src/lib.ts`
- [Mobile feature stubs](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/screens/StubScreen.tsx): `popspot-app/src/screens/StubScreen.tsx`
- [Background video](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/components/BgVideo.tsx): `popspot-app/src/components/BgVideo.tsx`
- [Glass UI](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/components/Glass.tsx): `popspot-app/src/components/Glass.tsx`
- [Mobile theme](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/theme.ts): `popspot-app/src/theme.ts`
- [Mobile data types](https://github.com/hanshhx/pop-spot/blob/main/popspot-app/src/types.ts): `popspot-app/src/types.ts`

### Other components

- **Visitor**

## Connections

- Visitor → Home and browse: browses
- Visitor → Popup search: searches
- Visitor → Popup map: views locations
- Visitor → Popup details: checks details
- Visitor → Visit planning: plans visits
- Home and browse → Popup details: opens listing
- Popup search → Popup details: finds listing
- Visitor → Localized pages: chooses language
- Visitor → Saved places: saves places
- Visitor → Popup music: plays music
- Visitor → Visit passport: collects visits
- Visitor → User feedback: sends feedback
- Visitor → Admin console: administers
- API proxy → POP-SPOT backend: forwards requests
- Mobile navigation → Mobile tabs: hosts tabs (evidence: `popspot-app/App.tsx`)
- Mobile navigation → Mobile details: registers detail (evidence: `popspot-app/App.tsx`)
- Mobile navigation → Background video: renders backdrop (evidence: `popspot-app/App.tsx`)
- Mobile tabs → Mobile popup feed: shows feed (evidence: `popspot-app/src/navigation/Tabs.tsx`)
- Mobile tabs → Mobile feature stubs: shows placeholders (evidence: `popspot-app/src/navigation/Tabs.tsx`)
- Mobile popup feed → Mobile API client: fetches popups (evidence: `popspot-app/src/screens/HomeScreen.tsx`)
- Mobile popup feed → Mobile popup card: renders cards (evidence: `popspot-app/src/screens/HomeScreen.tsx`)
- Mobile popup feed → Mobile details: opens selected popup (evidence: `popspot-app/src/screens/HomeScreen.tsx`)
- Mobile popup card → Mobile popup helpers: formats popup data (evidence: `popspot-app/src/components/PopupCard.tsx`)
- Mobile details → Mobile popup helpers: formats popup data (evidence: `popspot-app/src/screens/DetailScreen.tsx`)
- Mobile popup feed → Glass UI: renders header (evidence: `popspot-app/src/screens/HomeScreen.tsx`)
- Mobile details → Glass UI: renders information card (evidence: `popspot-app/src/screens/DetailScreen.tsx`)
- Mobile API client → POP-SPOT backend: requests popup data (evidence: `popspot-app/src/api.ts`)
