A comprehensive travel booking platform that connects travelers with multiple travel agencies, allowing users to discover, compare, and book travel packages for holidays and recreation.
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Schema definitions
│ │ └── queries.ts # DB query functions
│ ├── routes/ # API route handlers
│ │ ├── agencies.ts # Agency-related endpoints
│ │ ├── auth.ts # Authentication endpoints
│ │ ├── bookings.ts # Booking-related endpoints
│ │ ├── packages.ts # Travel package endpoints
│ │ └── payments.ts # Payment processing endpoints
│ └── index.ts # Main API entry point
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application component
│ │ ├── Dashboard.tsx # Dashboard with travel suggestions
│ │ ├── Header.tsx # Navigation header
│ │ ├── PackageCard.tsx # Travel package display card
│ │ ├── SearchForm.tsx # Search functionality
│ │ └── BookingFlow.tsx # Booking and payment process
│ ├── index.html # Main HTML template
│ └── index.tsx # Frontend entry point
└── shared/
├── types.ts # Shared type definitions
└── utils.ts # Shared utility functions
Access the application at the root URL. New users can create an account or browse travel packages without logging in. To complete a booking, users must create an account and log in.