Get the weather of any location by typing in the address
-
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
- In the terminal go to the working directory
- node app.js -a "enter address of the location"