How seneu123123/capstonefinal works
Holiday Travelers is a travel-tour operations and customer-booking application with traveler and operator views. The main traveler flow presents expedition packages, supports booking and reservation tracking, and exposes account and feedback features; the operator view covers package, booking, itinerary, logistics, finance, feedback, and settings work. The React application uses both browser storage and Supabase helpers, while a Laravel REST API provides a separate Sanctum/PostgreSQL integration. Several UI subsystems are documented but unsampled, so their internal call relationships are not inferred here.
Main entry points: api.php Laravel REST API · App.tsx Application Shell · ClientPortal.tsx Customer Portal · BookingController.php Booking API
Components 33
Traveler Experience
- Application Shell
src/App.tsx - Customer Portal
src/components/client/ClientPortal.tsx - Expedition Catalog
src/components/client/ClientExpeditions.tsx - Booking Tracker
src/components/client/ClientBookingTracker.tsx - Booking Portal
src/components/submodules/CustomerBookingPortal.tsx - AI Concierge
src/components/client/AiCustomerConcierge.tsx - Traveler Account
src/components/client/MyAccountModal.tsx - Weather Radar
src/components/client/GlobalWeatherRadarModal.tsx
Tour Operations
- Operator Portal
src/components/admin/AdminPortal.tsx - Package Management
src/components/submodules/TourPackageManagement.tsx - Booking Manifest
src/components/submodules/ComprehensivePassengerManifest.tsx - Itinerary Scheduling
src/components/submodules/ItineraryScheduleManagement.tsx - Hotel Transport
src/components/submodules/HotelTransportReservation.tsx - Invoices and Payments
src/components/submodules/PaymentInvoiceManagement.tsx - Feedback and CSAT
src/components/submodules/CustomerFeedbackRating.tsx - Agency Settings
src/components/submodules/SystemSettings.tsx
Data and API Services
- Browser Storage
src/utils/storage.ts - Supabase Access
src/utils/supabaseClient.ts - Laravel REST API
laravel/routes/api.php - Booking API
laravel/app/Http/Controllers/Api/BookingController.php - Tour Package API
laravel/app/Http/Controllers/Api/TourPackageController.php - Invoice API
laravel/app/Http/Controllers/Api/InvoiceController.php - Itinerary API
laravel/app/Http/Controllers/Api/ItineraryController.php - Feedback API
laravel/app/Http/Controllers/Api/FeedbackController.php - Sanctum Auth API
laravel/app/Http/Controllers/Api/SanctumAuthController.php - Voucher API
laravel/app/Http/Controllers/Api/VoucherController.php - Security Audit API
laravel/app/Http/Controllers/Api/SecurityAuditController.php - Booking Model
laravel/app/Models/Booking.php - Invoice Model
laravel/app/Models/Invoice.php
Other components
- Traveler
- Agency Operator
- Supabase
- PostgreSQL
Connections 34
- Traveler → Application Shell: uses
- Agency Operator → Application Shell: uses
- Application Shell → Customer Portal: renders
src/App.tsx - Customer Portal → Expedition Catalog: renders
src/components/client/ClientPortal.tsx - Customer Portal → Booking Tracker: renders
src/components/client/ClientPortal.tsx - Customer Portal → Booking Portal: renders
src/components/client/ClientPortal.tsx - Customer Portal → Feedback and CSAT: renders
src/components/client/ClientPortal.tsx - Application Shell → Operator Portal: renders
src/App.tsx - Traveler → Expedition Catalog: browses
- Traveler → Booking Portal: books tours
- Traveler → Booking Tracker: tracks booking
- Agency Operator → Package Management: manages
- Agency Operator → Booking Manifest: manages
- Agency Operator → Itinerary Scheduling: schedules
- Agency Operator → Hotel Transport: allocates
- Agency Operator → Invoices and Payments: manages billing
- Agency Operator → Feedback and CSAT: reviews
- Agency Operator → Agency Settings: configures
- Application Shell → Browser Storage: saves packages
src/App.tsx - Application Shell → Supabase Access: saves bookings
src/App.tsx - Supabase Access → Supabase: reads and writes
src/utils/supabaseClient.ts - Laravel REST API → Sanctum Auth API: routes to
laravel/routes/api.php - Laravel REST API → Tour Package API: routes to
laravel/routes/api.php - Laravel REST API → Booking API: routes to
laravel/routes/api.php - Laravel REST API → Itinerary API: routes to
laravel/routes/api.php - Laravel REST API → Voucher API: routes to
laravel/routes/api.php - Laravel REST API → Invoice API: routes to
laravel/routes/api.php - Laravel REST API → Feedback API: routes to
laravel/routes/api.php - Laravel REST API → Security Audit API: routes to
laravel/routes/api.php - Booking API → Booking Model: creates and queries
laravel/app/Http/Controllers/Api/BookingController.php - Booking API → Invoice Model: loads relation
laravel/app/Http/Controllers/Api/BookingController.php - Booking API → PostgreSQL: checks package
laravel/app/Http/Controllers/Api/BookingController.php - Tour Package API → PostgreSQL: reads and writes
laravel/app/Http/Controllers/Api/TourPackageController.php - Application Shell → Laravel REST API: integrates API