An open API service indexing awesome lists of open source software.

https://github.com/frnt-end/weather-app-react

:atom_symbol: React project - Fetch and Toggle display of current weather in Berlin, Paris, New York & London (tabs) - using axios for API fetch. Watch DEMO 🌞 https://Frnt-End.github.io/Weather-App-React 👈
https://github.com/frnt-end/weather-app-react

api axios axios-react background card current-weather data fetch gh-pages react reactjs tabs toggle ui usestate usestate-hook weather weather-app weather-information weatherapp

Last synced: 2 months ago
JSON representation

:atom_symbol: React project - Fetch and Toggle display of current weather in Berlin, Paris, New York & London (tabs) - using axios for API fetch. Watch DEMO 🌞 https://Frnt-End.github.io/Weather-App-React 👈

Awesome Lists containing this project

README

          

# Current Weather App

![Weather Indicator](src/img/preview.jpg "Weather Indicator")

Toggle between **Berlin, Paris, New York & London** tabs to display updated current weather and background.

👉 [Watch DEMO](https://Frnt-End.github.io/Weather-App-React)

## 📁 Project Structure

- **index.js** is the main component.
- **style.css** is the main style file.
- Dedicated **img** folder.

## ✏️ Notes

- Using **axios** to handle the requested data.
- Using the **state** hook.
- Setting **Berlin** as a default value to be displayed.

## 🌈 Local View

To view in localhost: in the terminal, navigate to the main folder and type:

##### `npm start` or `yarn start`

👉 [Watch DEMO](https://Frnt-End.github.io/Weather-App-React)

---

Enjoy the code exploring 😉

---

### License

Copyright © 2019 @frnt-end
[Portfolio](https://frnt-end.github.io/portfolio/)

[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)