tarunkumarwebsite
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
A comprehensive travel booking platform built with React, Hono, and SQLite on Val Town.
- User Authentication: Login/Register system
- Destination Discovery: Browse popular travel destinations
- Multi-Modal Booking: Book flights, trains, and cabs
- User Dashboard: Manage bookings and profile
- Responsive Design: Works on all devices
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema setup
│ │ └── queries.ts # Database query functions
│ ├── routes/
│ │ ├── auth.ts # Authentication routes
│ │ ├── bookings.ts # Booking management
│ │ ├── destinations.ts # Destination data
│ │ └── static.ts # Static file serving
│ └── index.ts # Main Hono server
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main app component
│ │ ├── Auth/ # Login/Register components
│ │ ├── Destinations/ # Destination browsing
│ │ ├── Booking/ # Booking components
│ │ └── Layout/ # Header, Footer, Navigation
│ ├── index.html # Main HTML template
│ ├── index.tsx # React entry point
│ └── style.css # Custom styles
└── shared/
└── types.ts # Shared TypeScript types
- Home Page - Landing page with search and featured destinations
- Login/Register - User authentication
- Destinations - Browse and search destinations
- Booking - Book flights, trains, and cabs
- Dashboard - User profile and booking management
- About - Company information
- Frontend: React 18.2.0 with TypeScript
- Backend: Hono framework
- Database: SQLite
- Styling: TailwindCSS
- Platform: Val Town
The main entry point is /backend/index.ts
which serves the React frontend and API routes.