https://github.com/estesp/flightassist-weather
Weather micro-service for the flightassist demo application
https://github.com/estesp/flightassist-weather
Last synced: about 2 months ago
JSON representation
Weather micro-service for the flightassist demo application
- Host: GitHub
- URL: https://github.com/estesp/flightassist-weather
- Owner: estesp
- License: apache-2.0
- Created: 2017-03-14T20:16:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-18T01:43:56.000Z (about 8 years ago)
- Last Synced: 2025-01-14T10:18:40.255Z (3 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flightassist-weather
Weather micro-service for the flightassist demo application, written in
python. This micro-service interacts with the [Weather Company weather
data](https://console.ng.bluemix.net/catalog/services/weather-company-data/)
service to obtain the weather data for a given location. The microservice can
run locally as Docker container or in a container service, for example, use `make localdeploy` to deploy the microservice locally. Once it is deployed, you may interact with the weather service using curl:curl -X GET 'http://localhost:80/weather/41.788136/-87.740871'
When running the microservice in a container service such as swarm or
kubernetes, you will replace localhost with the service name (e.g.
weather-service) to lookup the service.