Live App: travelgenie-ai.vercel.app
TravelGenie is a Next.js application that creates personalized travel itineraries using Google's Gemini AI, Google Places API, and Mapbox integration.
TravelGenie-demo.mp4
- AI-Powered Itineraries: Generate detailed day-by-day travel plans using Gemini 1.5 Flash
- Smart Location Search: Google Places autocomplete for destination selection
- Customizable Preferences: Budget levels, interests, wake-up times, and must-see attractions
- Interactive Maps: Mapbox integration with location visualization and route planning
- Responsive Design: Works seamlessly on desktop, tablet, and mobile devices
- Next.js 15 with App Router and TypeScript
- React 19 with modern hooks and components
- Google Generative AI (Gemini 1.5 Flash)
- Google Places API for location services
- Mapbox GL JS for interactive maps
- Tailwind CSS for styling
- ShadCN UI for accessible components
- Plan Your Trip: Enter destination, dates, budget, and preferences
- AI Generation: Submit your preferences to generate a personalized itinerary
- Interactive Maps: View locations and routes on the integrated map
- Export Options: Download PDF or export to calendar (coming soon)
TravelGenie/
├── app/
│ ├── api/itinerary/route.ts # AI itinerary generation
│ ├── plan/page.tsx # Trip planning form
│ ├── trip/[id]/page.tsx # Itinerary display
│ ├── page.tsx # Landing page
│ └── globals.css # Global styles
├── components/
│ ├── ui/ # Reusable UI components
│ ├── Map3D.tsx # Interactive map component
│ ├── TripForm.tsx # Trip planning form
│ └── LocationAutocomplete.tsx # Places autocomplete
├── types/ # TypeScript definitions
└── lib/utils.ts # Utility functions
POST /api/itinerary- Generate personalized travel itineraries
- Fork the repository
- Create a feature branch (
git checkout -b feature/new-feature) - Commit your changes (
git commit -m 'Add new feature') - Push to the branch (
git push origin feature/new-feature) - Open a Pull Request
MIT License - see LICENSE file for details
Built with Next.js, Gemini AI, and modern web technologies | Live Demo