JourneyGenie is a web application that provides real-time travel updates, weather conditions, and traffic information based on user-specified origin and destination locations. It utilizes the Google Maps API for directions and map visualization, and integrates with the Google Generative AI API (Gemini) for generating personalized travel recommendations.
Innovisionaries_.Jugaad.Hacks.JourneyGenie.mp4
- Enter origin and destination locations to get directions and travel updates
- Real-time weather information for both origin and destination locations
- Traffic conditions and estimated travel duration
- Integration with Google Generative AI API (Gemini) for personalized travel recommendations
- Interactive map visualization using Google Maps API
- React.js
- Google Maps API
- Google Generative AI API (Gemini)
- Axios for making HTTP requests
- HTML, CSS, and JavaScript
- Clone the repository:
git clone https://github.com/your-username/JourneyGenie.git
- Install the dependencies:
cd JourneyGenie
npm install
- Set up the required API keys:
- Obtain a Google Maps API key and replace
YOUR_GOOGLE_MAPS_API_KEY
in the code with your actual API key. - Obtain a Google Generative AI API key and set it as an environment variable named
VITE_GEMINI_KEY
.
- Start the development server:
npm run dev
- Open the application in your web browser at
http://localhost:3000
.
- Enter the origin and destination locations in the provided input fields.
- Select the desired date and time for travel.
- Click the "Make the Genie Magic!" button to get directions, weather information, and traffic updates.
- View the real-time updates and personalized travel recommendations in the chat-like interface.
- Interact with the map to explore the route and view additional details.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License.
For any inquiries or questions, please contact [email protected].