Note for Travis
Currently only1 Day
and5 Days
of Daily Forecasts available on AccWeather API.
I initially planned to use 10 Day API URL(http://dataservice.accuweather.com/forecasts/v1/daily/10day/{locationkey}) and fetch data and use
Array.slice(0, 7)
to get 7 days Forecasts.
Yy3riNF.-.Imgur.mp4
- Clone the repository:
git clone https://github.com/MaxineSS/ingram-exercise.git
- Install dependencies:
npm install
- Build application:
npm run build
- Run application:
npm start
- Start typing postal code to see 5 days forecasts!
Create .config.js
and fill in your information.
const API_KEY = 'Your AccWeather API Key';