How plames90/travel-scheduler works
WayFlow is a trip-planning application for finding places and organizing them into schedules, with map-based planning, route information, collaboration, saved/shared schedules, and account features. The main user journey runs from authentication and optional onboarding into place search and schedule editing, then schedule saving or sharing. The frontend tree and sampled code show these capabilities, but many substantial pages and components were not excerpted; their internal interactions are therefore represented only where imports or explicit calls establish them.
Main entry points: routes.tsx Page routes · ScheduleEditorPage.tsx Schedule editor · HomePage.jsx Planning home · AppContext.tsx App state
Components 25
App entry
- App flow
frontend/src/app/App.jsx - Page routes
frontend/src/app/routes.tsx - Account access
frontend/src/app/pages/AuthPage.jsx - User profile
frontend/src/app/pages/MyPage.jsx - Product tutorial
frontend/src/app/pages/TutorialPage.jsx
Trip planning
- Planning home
frontend/src/app/pages/HomePage.jsx - Preference survey
frontend/src/app/components/OnboardingSurvey.tsx - Place search
frontend/src/app/components/SearchBar.tsx - Offline places
frontend/src/app/data/mockPlaces.ts - Map display
frontend/src/app/components/MapView.tsx
Schedule lifecycle
- Schedule editor
frontend/src/app/pages/ScheduleEditorPage.tsx - Time planning
frontend/src/app/components/SchedulingSidebar.tsx - Collaborators
frontend/src/app/components/CollaborationPanel.tsx - Share schedule
frontend/src/app/components/ShareModal.tsx - Saved schedules
frontend/src/app/pages/SavedSchedulesPage.tsx - Schedule archive
frontend/src/app/pages/ArchivePanel.jsx - Shared schedule
frontend/src/app/pages/SharedSchedulePage.tsx
Data services
- App state
frontend/src/app/context/AppContext.tsx - API client
frontend/src/app/pages/api.js - Typed API client
frontend/src/app/services/api.ts - AI endpoint
cost_ai/wanderflow-ai-api/lambda_function.py
Other components
- Traveler
- WayFlow backend
- Naver place search
- AI service
Connections 33
- Traveler → App flow: opens
- App flow → Account access: shows
frontend/src/app/App.jsx - App flow → Product tutorial: shows
frontend/src/app/App.jsx - App flow → Planning home: shows
frontend/src/app/App.jsx - Traveler → Page routes: navigates
frontend/src/app/routes.tsx - Page routes → Account access: routes to
frontend/src/app/routes.tsx - Page routes → Planning home: routes to
frontend/src/app/routes.tsx - Page routes → Schedule editor: routes to
frontend/src/app/routes.tsx - Page routes → Saved schedules: routes to
frontend/src/app/routes.tsx - Page routes → User profile: routes to
frontend/src/app/routes.tsx - Page routes → Shared schedule: routes to
frontend/src/app/routes.tsx - Account access → API client: authenticates via
frontend/src/app/pages/AuthPage.jsx - Planning home → Place search: offers search
- Planning home → Map display: displays places
frontend/src/app/pages/HomePage.jsx - Planning home → Schedule archive: opens archive
frontend/src/app/pages/HomePage.jsx - Planning home → User profile: opens profile
frontend/src/app/pages/HomePage.jsx - Place search → Offline places: uses fallback data
frontend/src/app/components/SearchBar.tsx - Place search → Naver place search: queries places
frontend/src/app/components/SearchBar.tsx - Schedule editor → Map display: renders
frontend/src/app/pages/ScheduleEditorPage.tsx - Schedule editor → Time planning: renders
frontend/src/app/pages/ScheduleEditorPage.tsx - Schedule editor → Place search: renders
frontend/src/app/pages/ScheduleEditorPage.tsx - Schedule editor → Share schedule: renders
frontend/src/app/pages/ScheduleEditorPage.tsx - Schedule editor → Collaborators: renders
frontend/src/app/pages/ScheduleEditorPage.tsx - Schedule editor → App state: uses
frontend/src/app/pages/ScheduleEditorPage.tsx - Preference survey → App state: updates preferences
frontend/src/app/components/OnboardingSurvey.tsx - App state → Typed API client: loads schedules
frontend/src/app/context/AppContext.tsx - App state → WayFlow backend: requests schedules
frontend/src/app/context/AppContext.tsx - Planning home → API client: searches places
frontend/src/app/pages/HomePage.jsx - API client → WayFlow backend: requests data
frontend/src/app/pages/api.js - API client → Naver place search: requests transit routes
frontend/src/app/pages/api.js - Saved schedules → App state: uses schedules
- Shared schedule → App state: uses schedule data
- AI endpoint → AI service: invokes