How pdar124/tripcast_web works
TripCast is a tourism discovery frontend for searching attractions and courses, viewing weather and tourism climate indices, and exploring map-based routes; it also provides an admin login and climate-index sync workflow. Users enter through the routed app, select a discovery or climate feature, and receive backend data in its page. The graph preserves the documented home 3D experience, recommendations, maps, and admin capabilities. Evidence is limited to the README and indexed or excerpted files; unsampled implementation links are omitted where not established.
Main entry points: router.tsx Route table · spot-list-page.tsx Spot search · home-page.tsx Home experience · http.ts HTTP client
Components 27
Application shell
- App entry
src/app/app.tsx - Route table
src/app/router.tsx - App layout
src/shared/components/app-layout.tsx
Tourism discovery
- Home experience
src/features/home/home-page.tsx - 3D hero
src/features/home/components/hero-section.tsx - Live recommendations
src/features/home/components/live-recommendations-section.tsx - Spot search
src/features/spots/pages/spot-list-page.tsx - Spot detail
src/features/spots/pages/spot-detail-page.tsx - Spot API
src/features/spots/api/spot-api.ts - Spot map
src/features/spots/components/spot-map.tsx - Course list
src/features/courses/pages/course-list-page.tsx - Course detail
src/features/courses/pages/course-detail-page.tsx - Course recommendations
src/features/courses/pages/recommendation-page.tsx - Course route preview
src/features/courses/components/course-route-thumbnail.tsx
Climate insights
- Climate index
src/features/climate/pages/climate-page.tsx - Climate queries
src/features/climate/hooks/use-climate-index.ts - Climate API
src/features/climate/api/climate-api.ts
Administration
- Admin login
src/features/admin/pages/admin-login-page.tsx - Route guard
src/features/admin/components/protected-admin-route.tsx - Sync dashboard
src/features/admin/pages/admin-dashboard-page.tsx - Climate sync
src/features/admin/hooks/use-climate-index-sync.ts - Auth session
src/features/admin/store/auth-store.ts
Shared services
- HTTP client
src/shared/api/http.ts - Scroll manager
src/shared/components/scroll-manager.tsx - Kakao Maps SDK
src/shared/lib/kakao-maps.ts
Other components
- Visitor
- TripCast backend
Connections 29
- Visitor → Route table: opens routes
src/app/router.tsx - App entry → Route table: provides routes
src/app/app.tsx - Route table → App layout: wraps pages
src/app/router.tsx - Route table → Home experience: routes home
src/app/router.tsx - Route table → Spot search: routes search
src/app/router.tsx - Route table → Spot detail: routes details
src/app/router.tsx - Route table → Course list: routes courses
src/app/router.tsx - Route table → Course detail: routes details
src/app/router.tsx - Route table → Course recommendations: routes recommendations
src/app/router.tsx - Route table → Climate index: routes climate
src/app/router.tsx - Route table → Admin login: routes login
src/app/router.tsx - Route table → Route guard: guards admin
src/app/router.tsx - Route guard → Sync dashboard: allows access
src/app/router.tsx - Home experience → 3D hero: renders hero
src/features/home/home-page.tsx - Home experience → Live recommendations: renders recommendations
src/features/home/home-page.tsx - Spot search → Spot API: loads attractions
src/features/spots/pages/spot-list-page.tsx - Spot search → Spot map: renders locations
src/features/spots/pages/spot-list-page.tsx - Spot search → Spot detail: opens selected spot
src/features/spots/pages/spot-list-page.tsx - Climate index → Climate queries: queries indices
src/features/climate/pages/climate-page.tsx - Climate queries → Climate API: fetches data
src/features/climate/hooks/use-climate-index.ts - Sync dashboard → Climate sync: starts sync
src/features/admin/pages/admin-dashboard-page.tsx - HTTP client → Auth session: reads session
src/shared/api/http.ts - App layout → Scroll manager: renders manager
src/shared/components/app-layout.tsx - Course route preview → Kakao Maps SDK: uses map SDK
src/features/courses/components/course-route-thumbnail.tsx - HTTP client → TripCast backend: requests API
README.md - Spot API → TripCast backend: fetches spot data
README.md - Climate API → TripCast backend: fetches climate data
README.md - Climate sync → TripCast backend: requests sync
README.md - Spot map → Kakao Maps SDK: displays map
README.md