Skip to content

PrakharJain345/AI-trip-planner

Repository files navigation

🌍 AI Trip Planner ✈️

Plan your perfect getaway with ease using the AI Trip Planner, an intelligent web application designed to generate personalized travel itineraries.

Say goodbye to the stress of planning and hello to customized adventures, all powered by Generative AI. ✨


✨ Features

  • 🤖 AI-Powered Itineraries: Generate detailed, day-by-day travel plans tailored to your destination, duration, and interests.
  • 🗺️ Optimal Route Planning: Smart algorithms suggest the most efficient travel paths, saving you time and effort.
  • 🎯 Customization: Add, edit, or remove activities to suit your preferences.
  • 📱 Minimalist & Responsive Design: A clean, intuitive UI that works seamlessly across devices.

🚀 Getting Started

Follow these steps to set up the project locally:

✅ Prerequisites

🔧 Installation

# Clone the repository
git clone https://github.com/PrakharJain345/AI-trip-planner.git

# Navigate to project directory
cd ai-trip-planner

# Install dependencies
npm install

🔑 Environment Variables

This project requires API keys for the Generative AI API and Google Places API.

  1. Create a file named .env.local in the root directory.

  2. Add your API key:

    NEXT_PUBLIC_GEMINI_API_KEY=YOUR_GEMINI_API_KEY
    VITE_GOOGLE_PLACE_API_KEY=YOUR_GOOGLE_PLACES_API_KEY

⚠️ Replace the placeholder values with your actual API keys:

  • YOUR_GEMINI_API_KEY: Your Gemini API key for AI-powered itineraries
  • YOUR_GOOGLE_PLACES_API_KEY: Your Google Places API key for location services If you’re using a different model, update the variable name and adjust API call logic accordingly.

▶️ Running the App

Start the development server:

npm run dev

The app will be available at: http://localhost:3000


💻 Tech Stack

  • ⚛️ Framework: Next.js / React
  • 🎨 Styling: Tailwind CSS
  • 🤖 Generative AI: Gemini API
  • Deployment: Vercel

📄 License

MIT License

Copyright (c) 2025 Prakhar Jain

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published