Skip to content

A Java-based weather application that allows users to check real-time weather data for any capital city. It retrieves weather details such as temperature, humidity, and conditions from an external API, providing an easy-to-use interface for seamless weather updates.

License

Notifications You must be signed in to change notification settings

IsmailTekin05/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Java Weather App

A simple Java-based weather application that fetches real-time weather data and displays it in a user-friendly interface.

Features

  • Fetch real-time weather data from an API
  • Display temperature, humidity, and weather conditions
  • User-friendly interface
  • Error handling for API requests

Technologies Used

  • Java (Core application logic)
  • Spring Boot (Backend framework, if applicable)
  • OpenWeatherMap API (Weather data provider)
  • Maven (Dependency management)

Installation

Prerequisites

  • Java 17 or later
  • Maven

Steps

  1. Clone the repository:
    git clone https://github.com/IsmailTekin05/java-weather-app.git
    cd java-weather-app
  2. Install dependencies:
    mvn clean install
    or
    ./gradlew build
  3. Run the application:
    mvn spring-boot:run
    or
    java -jar target/java-weather-app.jar

Configuration

  1. Obtain an API key from OpenWeatherMap.
  2. Set up your API key in the application properties file:
    weather.api.key=YOUR_API_KEY_HERE

Usage

  • 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.

Contribution

Contributions are welcome! Feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Java-based weather application that allows users to check real-time weather data for any capital city. It retrieves weather details such as temperature, humidity, and conditions from an external API, providing an easy-to-use interface for seamless weather updates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages