Weather App Light using node.js
This is my first attempt to code something using Node.js.
The Weather App Light is very simple and it is useful to understand how to call an API (in this particular case I'm using the Open Weather Map API) and write the response on the console.
All the credit goes to Brandon Morelli, creator of codeburst.io.
This is the original post: https://codeburst.io/build-a-simple-weather-app-with-node-js-in-just-16-lines-of-code-32261690901d
- Add your own openweather api key
- Launch the app just run this command:
npm start
You can also provide the city as an optional argument. By default it will use 'porto':
npm start porto