This educational project is a Telegram bot that provides weather data and forecasts for different cities. It allows users to get real-time weather information and weather forecast by interacting with the bot through Telegram.
- Get current weather conditions for any city.
- Set any city to your account.
- Receive a 5-day weather forecast for a specific location.
- Ask bot if an umbrella is needed.
- Automated daily notifications with weather updates.
- Java 17
- Spring Boot 3.1.0
- Spring Data JPA
- MySQL
- Jackson
- Flyway
- Telegram API
- Weather Map API
- Spring Scheduler
To run the Weather Forecast Telegram Bot locally, follow these steps:
- Clone the repository.
- Configure the database connection in
application.properties
. - Obtain API keys for the Telegram API and Weather Map API.
- Set the API keys in the respective configuration file.
- Build the project using Maven.
- Run the application.