App to find destinations based on the preferred activity and weather predictions using GPT4 and Weather API.
JavaFX: Utilized for the graphical user interface.
Vanilla Java: Core language for the application logic.
Azure Open AI Services
Background Images: The app starts with captivating background images fetched from the Unsplash API to create an immersive experience. Multistep Form:
- Users select preferred activities.
- Users choose their desired weather conditions.
- Users select accommodation type.
- Users input location, check-in and check-out dates, travel distance preference - (nearby, inside the country, outside the country, overseas), budget, and company type - (solo, family, friends, etc.).
- GPT Model Integration:
- Using a GPT model, the app generates a list of top destinations based on the user's - selections.
- Open Meteo API Integration:
- The app makes an API call to Open Meteo to validate that the weather for the next 10 days - matches the user's criteria for the selected destinations.
- Top 3 Destinations:
- After processing the user input and weather validation, the app presents the top 3 recommended destinations to the user.
- Using the TravelMyth's API we get the destination's info
-
Clone the repository: git clone https://github.com/your-username/sunseeker.git
-
Open the project in your preferred Java development environment (e.g., IntelliJ IDEA, Eclipse).
-
Ensure Maven Installation: Check if Maven is installed by running
mvn -v
If Maven is installed, it will display version information. If not, you'll need to install Maven following the installation instructions.
-
Run the Project: Using Maven
mvn javafx:run
- Upon launching, the app displays background images fetched from Unsplash.
- Follow the multistep form to input your preferences:
- Select activities.
- Choose weather preferences.
- Specify accommodation type.
- Provide location, dates, travel distance, budget, and company type.
- Click "Submit" to generate top destination suggestions.
- The app will display the top 3 destinations along with relevant information and weather validation for the next 10 days.
Clone the project
git clone https://link-to-projectGo to the project directory
cd makeathon/xbirdsStart the app
mvn javafx:run