A simple demo with OpenWeatherMap using openweathermap-node wrapper module. However, it can be extended to support other Weather API. The application shall return a common set of JSON result across different Weather API.
{"weather":"Rain","temperature":8.67,"humidity":81}
npm install
npm test
npm start
Register at openweathermap.org for APP_ID. Set OWM_APPID as environment variable.
export OWM_APPID=<your APPID here>
curl http://localhost:8080/owm/city/New%20York
docker run -p 8080:8080 -e "OWM_APPID=Your OpenWeatherMap APPID" -d <CITY_NAME>