A simple React OpenWeatherMap App which fetches the weather forecast from OpenWeatherMaps.org API and renders them into a small Component.
- A simple Playground to learn React
- Version: 0.1.0
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
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 yarn to load all dependencies:
yarn
Run Application:
yarn start