This is weather widget application created with React and OpenWeatherMap API.
First clone this repository.
$ git clone hhttps://github.com/mkumbobeaty/weather-widget.git
Add a .env file that contains the following
- REACT_APP_WEATHER_API_URL=your_OpenWeatherMap_api_url
- REACT_APP_GEODB_API_URL=your_geodb_api_key
- REACT_APP_WEATHER_KEY=your_api_key
- REACT_APP_GEODB_KEY=your_geodb_api_key
Install dependencies. Make sure you already have nodejs
& npm
installed in your system.
$ npm install # or yarn
Run it to start project
$ npm start # or yarn start
Launches the test runner in the interactive watch mode run
$ npm run test
$ npm install weather-widget-react-app
- Reactjs
- React Hooks
- Display API Data Using Axios with React
- API
- GEODB_API