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 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