Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 416 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 416 Bytes

weather-cli-app

Get the weather of any location by typing in the address

Getting started

  • create a config.js file inside the working directory with this content:

    module.exports = {
      DARKSKY_KEY: <YOUR_DARKSKY_API_KEY>,
      GEOCODE_KEY: <YOUR_GEOCODE_LOCATION_API_KEY>
    

}

  • npm install

Usage

  • In the terminal go to the working directory
  • node app.js -a "enter address of the location"