An excellent & modern weather application built with Vaadin and Spring Boot using Open Meteo API. Features, dashboard style weather forecasting, Authentication control and more.
- java 17 Open JDK or intelliJ IDEA jdk Guide
- Vaadin 24.1.0
- Spring Boot 3.1.0
- PostgreSQL 14
- and ❤️
- Location search and filter
- Login/Logout (username: user and password: 123123123)
- Multiple User support
- Save/Bookmark Location
- Show weather details of selected Location (from search result / bookmark)
- Current location weather (requires Location Permission)
- Beautiful Weather Dashboard with Tiles/Widgets for weather specific information. (Check screenshot)
- Weekly weather overview
- Daily weather breakdown (with 24hrs forecasting)
- Responsive layout design (3/2/1 column design) (Not mobile first)
- PWA enabled
- Rest you need to find out (if any 😜)
- Import this project to your favourite IDE (I prefer intelliJ IDEA).
- Sync Maven Repositories
- Check properties file for postgresql Database Name, Database User name and password.(change if required)
WeatherApp/src/resources/application.properties
- create a user/login role with name -> root and password -> password (if you have skiped step 3)
- create a database and name it weather-db and select root as owner from the dropdown. (if you have skiped step 3)
- Make sure you have Java 17
- Enable Lombok plugin. If required, install.
- Start PostgreSQL server, Run MeteoWeatherApplication and enjoy.
Question: Can not start application. Getting exception
org.postgresql.util.PSQLException: Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Solution: Please start postgreSQL server.
Question: Getting java.lang.UnsupportedClassVersionError
Answer: This app requires JAVA 17
Question: Getting java.lang.UnsupportedOperationException
Answer: Please check you are connected to internet. This app requirest Internet connection to run.
Question: How do I login? / Username password?
Answer: username: wahed and password:123123123 or
username: user and password:123123123
Question: Something not covered here or a bug?
Answer: Please create an issue
MIT License
Md. Waheduzzaman (website 🌐)