/weather-app

Weather App with React and fetching data from OpenWeather API

Primary LanguageJavaScript

Weather App using React

Features

  • project set up using Create React App and using React Hooks API (useState, useEffect)
  • fetch data from OpenWeather API with API key
  • modular components styled with Bootstrap 5 and custom css

Project Structure

src
├── App.js
├── components
│   ├── CityForm.js
│   └── Weather
│       ├── index.js
│       ├── Description.js
│       ├── Humidity.js
│       ├── Humidity.css
│       ├── Icon.js
│       └── Temperature.js
├── index.js
├── serviceWorker.js
└── setupTests.js

Install dependencies

% yarn install

Run the app in the development mode

% yarn start