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 milliseconds.
A next-generation travel platform that combines AI-powered recommendations, seamless booking experiences, and futuristic design elements to revolutionize how people plan and book their journeys.
- User Authentication - Secure login/signup system
- Destination Discovery - AI-powered destination recommendations
- Multi-Modal Booking - Book flights, trains, and cabs in one place
- Future Travel Planning - AI predictions and travel trend analysis
- Responsive Design - Futuristic UI with glassmorphism and neon accents
- Landing Page - Hero section with animated elements
- Login/Signup - Secure authentication
- Destinations - Interactive destination browser with filters
- Booking Hub - Unified booking for flights, trains, and cabs
- Future Travel - AI-powered travel predictions and trends
- About - Company information and vision
- Frontend: React 18.2.0 with TypeScript
- Backend: Hono.js API framework
- Database: SQLite for user data and bookings
- Styling: TailwindCSS with custom futuristic components
- Storage: Val Town Blob for user preferences
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ routes/
β β βββ auth.ts # Authentication routes
β β βββ destinations.ts # Destination API
β β βββ bookings.ts # Booking management
β β βββ static.ts # Static file serving
β βββ index.ts # Main API entry point
βββ frontend/
β βββ components/
β β βββ App.tsx # Main app component
β β βββ Layout.tsx # Common layout
β β βββ Navigation.tsx # Navigation component
β β βββ pages/ # Page components
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
β βββ types.ts # Shared TypeScript types
β βββ utils.ts # Shared utilities
βββ README.md
- The backend API runs on
/backend/index.ts
- Frontend is served from
/frontend/index.html
- Database is automatically initialized on first run
POST /api/auth/login
- User loginPOST /api/auth/signup
- User registrationGET /api/destinations
- Get destinationsPOST /api/bookings/flight
- Book flightPOST /api/bookings/train
- Book trainPOST /api/bookings/cab
- Book cabGET /api/future-trends
- Get travel predictions