Problem
User story
- User creates an apiary - Apiary management
- User enters his location on a map
- A graph of local weather report/graph for the next week (7 days) prediction is shown
- temperature
- wind
- humidity
- rain percentage
- If there is a storm or heatwave reported by weather forecast, then user receives an alert (SMS or other configured channels)

User story
- I created an apiary and set its location (X,Y) - its available in swarm-api service and its DB

- Now every day, we should evaluate a risk of storms and hurricanes that can damage hives
- Need to find some existing public source of data for weather info
- Note that we already have https://github.com/Gratheon/weather service, so best to improve that
- If there is a risk, generate an weather alert for the user to be aware of
- Main feature under Alerts
Suggested solution
- In weather service, add a periodic job that will make request to swarm-api to extract apiary
{id lng lat}
- For every apiary, make request to weather service to get weather prediction
- detect if there is a high wind in that area coming in next 24h
- generate new alert - this depends on Alerts feature. Probably needs a request to alerts service