Deployed Link : https://akhulisumit.github.io/Safar-2.0/
🚀 An intelligent travel planning tool that generates personalized itineraries based on user preferences, budget, and destination while integrating real-time weather updates for better recommendations.
✅ User-Friendly Form – Enter details like destination, travelers, duration, budget, interests, and special requirements.
✅ AI-Generated Itinerary – Uses Google Gemini API to create a structured HTML-based travel plan.
✅ Real-Time Weather Updates – Fetches the latest weather conditions from OpenWeather API for the selected destination.
✅ Interest-Based Customization – Users can choose from travel interests (e.g., adventure, beaches, food) to tailor recommendations.
✅ Smooth UI & Error Handling – Displays loading indicators, alerts for missing inputs, and handles API failures gracefully.
1️⃣ User submits travel details via the input form.
2️⃣ Weather data is fetched from OpenWeather API.
3️⃣ AI generates a customized travel itinerary with weather insights.
4️⃣ Results are displayed in a formatted HTML layout.
- Frontend: HTML, CSS, JavaScript
- APIs:
- 🌦️ OpenWeather API – Fetches real-time weather data
- 🤖 Google Gemini API – Generates AI-powered travel itineraries
git clone https://github.com/your-username/travel-itinerary-planner.git
cd travel-itinerary-planner
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh