/rweather

A openWeatherMap react Component

Primary LanguageJavaScript

rweather

A simple React OpenWeatherMap App which fetches the weather forecast from OpenWeatherMaps.org API and renders them into a small Component.

What is this repository for?

  • A simple Playground to learn React
  • Version: 0.1.0

How do I get set up?

You'll need to install yarn the package manager. See installation docs for more Deatails: https://yarnpkg.com/lang/en/docs/install/

Clone the Repository:

git clone https://github.com/vaddi/rweather.git

Get into the Repositiory Folder:

cd rweather

Configuration

Add your API Key into .env file under the Maindirectory and insert a Constant REACT_APP_WEATHER_APIKEY which holds your API Key:

REACT_APP_WEATHER_APIKEY=XXXXXXXXXXXXXXXXXXXX

Get your API Key by signup on Get more information about the OpenWeatherMaps API:

After you set you API Key, Configure your application by edition package.json or use yarn init to setup your Application Name, Version, Dependencies, etc..

Run your Application

Run yarn to load all dependencies:

yarn

Run Application:

yarn start

More

Learn React

Yarn

Babel

OpenWeatherMaps