Web app that allows the user to get a five-day forecast of a Canadian city via a search bar.
- React - components
- Redux - actions, reducers, containers
- React middlewares - react-promise (handle async calls), modify actions before they hit reducers
- Google Map API
- OpenWeatherMap API
These instructions will get you a copy of the project up and running on your local machine for development and/or testing purposes.
You will need to install Node.js. See below for the download link.
- Run
$ git clone https://github.com/aemc/weather-app.git
on the cli, or download the source code to a local directory of your choice. - Run
$ npm install
within the root folder to install all the necessary libraries. - Sign up for an api key at OpenWeatherMap.
- Create a
secret.js
file and place it inside the src folder. Edit the secret file withexport default <insert api key here>
.
- Run
$ npm start
on the cli within the root of the project folder. - Open the browser and navigate to
localhost:8080
to see the app running.
- React - A JavaScript library for building user interfaces
- Bootstrap 4 - Frontend library