Public
Like
Tarun
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v12View latest version
A comprehensive travel booking platform with authentication, multiple booking options, and user feedback system.
- Authentication: Login/Register system
- Booking Services:
- Air tickets
- Railway tickets
- Cab bookings
- Bike rides
- Destinations: Browse and explore travel destinations
- Payment Integration: Secure payment processing
- About Page: Company information
- Feedback System: User reviews and feedback
- Responsive Design: Mobile-friendly interface
- Animations: Smooth transitions and interactive elements
βββ 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
- Backend: Hono (TypeScript)
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite
- Styling: TailwindCSS
- Animations: CSS transitions and transforms
- Storage: Val Town Blob storage for user sessions
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