react-redux-weather-app
React-Redux weather app that uses OpenWeather API to return current and forecasted weather for a given location. This App is built based on Stephen Grider's Udemy course.
This App utilizes:
- React
- redux-promise for middleware
- axios for promise based http requests
- react-sparklines for beautiful and expressive sparklines
- Redux
- OpenWeatherMap API for 5-day forecast
- Webpack for bundling
- Babel
Running app locally
- Install all dependencies with below command
npm install
- Sign-up for OpenWeatherMap Account and get the free API key. Replace the variable
API_KEY
value with this key in the fileindex.js
inside actions folder. - Get Google Maps API key and replace it in below script line available in the file
index.html
<script src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
- Open command prompt and run
npm start