TripMate is a JavaFX + Flask travel planner with an AI chatbot, providing:
- 🌤 Weather updates
- 📅 Best months to visit
- 🖼 City images
✈️ Flight search- 📈 Trending destinations
Before running TripMate, install:
-
Python 3.9+ → Download
-
Java JDK 17+ → Download
-
JavaFX SDK (same version as your JDK) → Download
-
Git → Download
-
API keys for:
- OpenWeather (weather data)
- Flight API (e.g., Amadeus)
- Image API (Unsplash/Pexels)
Store them in
config/api_keys.json(seeapi_keys_example.jsonin repo for format).
TripMate/
├── backend/ # Python Flask server & APIs
│ ├── app.py
│ ├── chatbot_module.py
│ ├── db_module.py
│ ├── gallery_module.py
│ ├── seasons_module.py
│ ├── weather_module.py
│ └── database/
│
├── frontend/ # JavaFX UI
│ ├── Main.java
│ ├── resources/
│
├── config/ # Configuration files (no keys)
├── lib/ # External libraries
│ └── json-20210307.jar
└── README.md
- 🔍 Search any city for travel info
- 💬 AI Chatbot for travel queries & flight search
- 🌦 Live Weather data from OpenWeather API
- 🗓 Best Months to Visit based on seasonal trends
- 🖼 Photo Gallery of destinations
- 🌎 Trending Tab to see popular destinations searched
git clone https://github.com/parthj732005/tripmate-app.git
cd tripmate-appcd backend
pip install -r requirements.txt
python app.py💡 Add your API keys in config/api_keys.json (keys not included in repo).
cd frontend
javac --module-path "C:\javafx-sdk-21\lib" --add-modules javafx.controls,javafx.fxml -cp "../lib/json-20210307.jar" Main.java
java --module-path "C:\javafx-sdk-21\lib" --add-modules javafx.controls,javafx.fxml -cp ".;../lib/json-20210307.jar" Main(Mac/Linux users need to adjust the JavaFX path format.)
- Start the backend (
python app.py) - Run the JavaFX frontend
- Search for a city to see weather, best travel months, and images
- Chat with the AI for travel recommendations and flight info