Skip to content

aandandreea/WeatherApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherApp (JavaFX)

A simple Weather App built using Java and JavaFX.

Features

  • Search weather by city name
  • Current temperature
  • Feels-like temperature
  • Humidity
  • Wind speed
  • Weather condition description
  • 3-day forecast
  • Error handling for invalid cities

Project Structure

  • Main.java – console version of the app
  • WeatherUI.java – contains UI and app logic
  • GeocodingService.java – converts city names into coordinates
  • WeatherService.java – handles weather API requests
  • Location.java – stores location data
  • WeatherData.java – stores current weather data
  • ForecastData.java – stores forecast data
  • WeatherCodeMapper.java – converts weather codes into readable text

What I learned

  • JavaFX basics
  • Working with APIs
  • HTTP requests using HttpClient
  • Parsing JSON with Jackson
  • Object-Oriented Programming
  • Separating UI from backend logic
  • Error handling

Future improvements

  • Add weather icons
  • Improve UI design
  • Add dark mode
  • Add location detection
  • Add more forecast days

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages