Showing weather and News fetching form API. Live demo here.
- To create an daily used weather and News app
- To create an application with React that utilizes data fetching from an API
- react props, useState(), context, react events, useEffect()
- react-router-dom
- custom hooks (useFetchWeather)
- fetch
- styled-components
- css
- axios
- Fetching current weather from API
- Fetching weekly forecast from API
- Fetching current news from API
- Responsive design by using css and useState
- To use it across the home page
- OpenWeather (Current Weather Data, One Call API)
- Current News
- Structure of single page app
- (Fixed) Convert unix to localTime for Sunrise or Sunset