Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forecast Service Team Project

A Java Spring Boot application that retrieves weather forecasts from multiple weather services and compares the results to determine the best weather forecast.

About the project

This project was developed as a team project during my Java developer education.

The application retrieves weather data from multiple external APIs and compares forecasts based on temperature and humidity.

Weather data is retrieved from:

  • MET Norway
  • SMHI
  • WeatherAPI

The application exposes the result through both a web controller and a REST endpoint.

Technologies

  • Java
  • Spring Boot
  • REST APIs
  • Maven
  • Thymeleaf
  • Bootstrap
  • Git / GitHub

How it works

The application communicates with several external weather APIs through separate REST clients.

The retrieved forecasts are converted into a common WeatherForecast model and processed by the service layer.

ForecastService compares the forecasts primarily by temperature. If forecasts have the same temperature, humidity is used as an additional comparison.

The selected forecast can then be accessed through the application's web interface or REST endpoint.

Project structure

controller/
    BestWeatherController
    BestWeatherREST

dao/restclients/
    met/
    smhi/
    weatherAPI/

service/
    ForecastService

business/model/
    WeatherForecast

Authors

This project was developed as a team project during our Java developer education.

Contributors can be found in the GitHub repository.

About

Examination Team Project Webservice

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages