ferame / life-manager

React web app for managing all my daily news.
0 stars 0 forks source link

Weather forecast component #1

Open ferame opened 4 years ago

ferame commented 4 years ago

Initial: Showing today's weather in a specific city. Later:

ferame commented 3 years ago

This API should be sufficient if the call data is saved in the backend cache. https://openweathermap.org/price

ferame commented 3 years ago

Can also build up data tables with historical data that we get from the API calls (building our own historical data, so that we can dodge the premium acc pricing)

ferame commented 3 years ago

Implemented the backend solution for it, left to do - front end component

ferame commented 3 years ago

Try using nullish coalescing operator and optional chaining for checking the presence of a parameter within a response from backend

ferame commented 3 years ago

Add support for all of these descriptions and add handling of the case when the description doesn't match and you try to match on Main then. https://openweathermap.org/weather-conditions#Icon-list