Skip to content

MaxineSS/Weather-Forecasts

Repository files navigation

👋 Welcome to 5 Days Forecasts!

Note for Travis
Currently only 1 Day and 5 Days of Daily Forecasts available on AccWeather API.

Screen Shot 2022-04-07 at 5 05 42 PM

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.

image

📷 Demo - Responsive

Yy3riNF.-.Imgur.mp4

💾 Installation

  1. Clone the repository:
    git clone https://github.com/MaxineSS/ingram-exercise.git
  2. Install dependencies:
    npm install
  3. Build application:
    npm run build
  4. Run application:
    npm start
  5. Start typing postal code to see 5 days forecasts!

⛰️ Environment

Create .config.js and fill in your information.

const API_KEY = 'Your AccWeather API Key';

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published