jmtellez / CLI-mate

Node CLI app that gives you the weather forecast for a given city.
6 stars 10 forks source link

Added a method in app.js for empty string #17

Closed cosmoimai closed 3 years ago

cosmoimai commented 3 years ago

I have added a method like if empty string provided it will give details of that place

cosmoimai commented 3 years ago

Sir, What is process.env.MAPBOX doing because it is giving undefined

jmtellez commented 3 years ago

process.env.MAPBOX is getting the env var that stores the api key to Mapbox. You need this key and weatherstack key for the tool to work