Sunrise is a Java weather app. Just select an available city and weather information will be shown.
- import the project into IntelliJ
- download the JavaFX SDK from Gluon website and place it into the
sunrise/libfolder - create a new IntelliJ build profile, with the VM Options field set to
--module-path ABSOLUTE_PATH\sunrise\lib\javafx-sdk-VERSION\lib --add-modules=javafx.controls,javafx.fxml - create a configuration file named
sunrise.confin the foldersunrise/src/main/resources, containing the textapi_key=OPENWEATHER_API_KEY - build and run
- create an executable via IntelliJ artifacts (optional)
ABSOLUTE_PATH, the absolute path to the repositoryVERSION, the version of the downloaded JavaFX SDKOPENWEATHER_API_KEY, the API key of your OpenWeather account
| Name | Description | Link |
|---|---|---|
| OpenWeather API | API for weather data | website |
| JavaFX | Java platform for development of desktop applications |
website |
| json-simple | Java library for working with JSON data |
website |
| Junit 5 | Java testing library |
website |
| mockito | Java mocking library |
website |
