A comprehensive travel booking platform with authentication, multiple booking options, and user feedback system.
├── backend/
│ ├── index.ts # Main Hono server
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ └── routes/
│ ├── auth.ts # Authentication routes
│ ├── bookings.ts # Booking management
│ └── feedback.ts # Feedback system
├── frontend/
│ ├── index.html # Main HTML template
│ ├── components/
│ │ ├── App.tsx # Main React app
│ │ ├── Login.tsx # Authentication component
│ │ ├── Dashboard.tsx # Main dashboard
│ │ ├── Destinations.tsx # Destinations page
│ │ ├── Booking.tsx # Booking interface
│ │ ├── Payment.tsx # Payment processing
│ │ ├── About.tsx # About page
│ │ └── Feedback.tsx # Feedback form
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
The application is automatically deployed on Val Town. Access the main interface through the HTTP endpoint.
POST /api/auth/login
- User authenticationPOST /api/auth/register
- User registrationGET /api/destinations
- Get available destinationsPOST /api/bookings
- Create new bookingPOST /api/payment
- Process paymentPOST /api/feedback
- Submit feedbackGET /api/feedback
- Get feedback list