How phamhuy273/se347-smart-travel-planner works
Wanderflow is a travel-planning web application, with a Vue frontend and NestJS API backed by PostgreSQL/Prisma. The intended user journey spans account access, trip discovery and management, and itinerary planning; the README also documents maps, drag-and-drop ordering, and image uploads. The supplied backend domain folders and frontend view files appear to be scaffolding, so those capabilities are shown as documented product areas rather than confirmed implementations. Connections between frontend screens and API calls are not established by the excerpts.
Main entry points: index.ts Route handling · app.module.ts Application module · main.ts Nest API entry · api.client.ts API client
Components 27
Web application
- Vue bootstrap
frontend/src/main.ts - App shell
frontend/src/App.vue - Route handling
frontend/src/router/index.ts - Account screens
frontend/src/views/auth - Landing screen
frontend/src/views/landing/LandingView.vue - Dashboard
frontend/src/views/dashboard/DashboardView.vue - Trip list
frontend/src/views/trips/MyTripsView.vue - Itinerary planner
frontend/src/views/planner/PlannerView.vue - API client
frontend/src/services/api.client.ts - Auth state
frontend/src/stores/auth.store.ts
API runtime
- Nest API entry
backend/src/main.ts - Application module
backend/src/app.module.ts - Root controller
backend/src/app.controller.ts - Root service
backend/src/app.service.ts - Exception filter
backend/src/common/filters/http-exception.filter.ts - Response transform
backend/src/common/interceptors/transform.interceptor.ts
Persistence and media
- Prisma module
backend/src/prisma/prisma.module.ts - Prisma client
backend/src/prisma/prisma.service.ts - PostgreSQL
- Upload module
backend/src/common/upload/upload.module.ts - Cloudinary uploader
backend/src/common/upload/cloudinary.service.ts
Travel capabilities
- Authentication
backend/src/modules/auth - Places
backend/src/modules/places - Trip management
backend/src/modules/trips - Map and ordering
frontend/src/views/planner/PlannerView.vue
Other components
- Traveler
- Cloudinary
Connections 30
- Traveler → Vue bootstrap: uses
README.md - Vue bootstrap → App shell: mounts
frontend/src/main.ts - Vue bootstrap → Route handling: installs
frontend/src/main.ts - App shell → Route handling: renders routes
frontend/src/App.vue - Route handling → Account screens: routes to
README.md - Route handling → Landing screen: routes to
README.md - Route handling → Dashboard: routes to
README.md - Route handling → Trip list: routes to
README.md - Route handling → Itinerary planner: routes to
README.md - Account screens → Auth state: uses
- Account screens → API client: may call
- Trip list → API client: may call
- Itinerary planner → API client: may call
- Traveler → Authentication: seeks account access
README.md - Traveler → Places: seeks places
README.md - Traveler → Trip management: manages trips
README.md - Traveler → Map and ordering: plans itinerary
README.md - Map and ordering → Places: uses map places
- API client → Nest API entry: sends requests
README.md - Nest API entry → Application module: creates
backend/src/main.ts - Nest API entry → Exception filter: registers
backend/src/main.ts - Nest API entry → Response transform: registers
backend/src/main.ts - Application module → Root controller: registers
backend/src/app.module.ts - Application module → Root service: provides
backend/src/app.module.ts - Root controller → Root service: calls
backend/src/app.controller.ts - Application module → Prisma module: imports
backend/src/app.module.ts - Prisma client → PostgreSQL: connects
backend/src/prisma/prisma.service.ts - Application module → Upload module: imports
backend/src/app.module.ts - Upload module → Cloudinary uploader: provides
backend/src/common/upload/upload.module.ts - Cloudinary uploader → Cloudinary: uploads files
backend/src/common/upload/cloudinary.service.ts