A simple Java-based weather application that fetches real-time weather data and displays it in a user-friendly interface.
- Fetch real-time weather data from an API
- Display temperature, humidity, and weather conditions
- User-friendly interface
- Error handling for API requests
- Java (Core application logic)
- Spring Boot (Backend framework, if applicable)
- OpenWeatherMap API (Weather data provider)
- Maven (Dependency management)
- Java 17 or later
- Maven
- Clone the repository:
git clone https://github.com/IsmailTekin05/java-weather-app.git cd java-weather-app - Install dependencies:
or
mvn clean install
./gradlew build
- Run the application:
or
mvn spring-boot:run
java -jar target/java-weather-app.jar
- Obtain an API key from OpenWeatherMap.
- Set up your API key in the application properties file:
weather.api.key=YOUR_API_KEY_HERE
- Start the application and enter a city name to get weather details.
- The app fetches real-time weather data and displays temperature, humidity, and conditions.
Contributions are welcome! Feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.