๐Ÿš€ What it does

TravelBuddy allows users to:

  • โœˆ๏ธ Generate smart travel itineraries based on source, destination, and dates
  • ๐Ÿš— Get a route summary that estimates travel time by road (if in-country) or flight (if international)
  • ๐Ÿ“ Discover attractions and restaurants near destinations (via the Foursquare API)
  • ๐Ÿค– All powered by LLMs like Gemini, integrated into a smooth React frontend + FastAPI backend

๐Ÿ›  How we built it

  • Frontend:

    • React + Vite for blazing-fast SPA development
    • Tailwind CSS for sleek, responsive styling
  • Backend:

    • FastAPI (Python) with modular route/logic separation
    • Asynchronous handling and LLM prompt management
  • AI Integration:

    • Google Gemini Pro/Flash for natural language content generation
    • Custom prompt engineering for itinerary and route summaries
  • APIs Used:

    • ๐Ÿ—บ Foursquare Places API โ€“ for attractions & restaurants
    • ๐Ÿง  Google Gemini API โ€“ for AI-generated trip content

๐Ÿงฉ Challenges we ran into

  • ๐Ÿงพ LLM response parsing
    Gemini returns natural text, not JSON โ€” formatting the response reliably was tricky

  • ๐Ÿ›ซ Multiple airports per city
    Estimating flights is tough when cities have several airports (e.g. New York, London)

  • ๐ŸŒฆ Weather forecast limits
    Most APIs cap forecast data to 14 days โ€” which limits trip planning beyond that window

  • ๐Ÿ”„ Frontend-backend sync
    Async API calls + Gemini latency required careful loading state management in React


๐Ÿ† Accomplishments that we're proud of

  • ๐Ÿš€ Built a full-stack AI travel planner from scratch in under 36 hours
  • ๐Ÿง  Integrated a production-grade LLM into a real-time planning tool
  • ๐Ÿงฑ Designed a clean, scalable backend with reusable prompt modules
  • ๐ŸŽจ Built a beautiful, responsive frontend with interactive trip planning flow

๐Ÿ“š What we learned

  • ๐Ÿ“ How to structure prompts for consistent LLM outputs
  • ๐Ÿ•ธ FastAPI + async best practices
  • ๐Ÿ” Designing scalable frontend-backend data flows
  • ๐Ÿงฉ Implementing fallback logic when APIs are rate-limited or fail

๐Ÿ”ฎ What's next for TravelBuddy

  • ๐Ÿ—บ Show maps and directions between locations
  • ๐Ÿ“ฑ Package as a mobile app or Chrome extension
  • โ›… Integrate live weather and local events into itineraries
  • ๐Ÿงญ Let users save + share travel plans
Share this project:

Updates