IBM-Cloud / get-started-python

A Python application and tutorial that use Flask framework to provide a REST API to receive requests from the UI. The API then persists the data to a Cloudant database.
https://console.ng.bluemix.net/docs/runtimes/python/getting-started.html
Apache License 2.0
121 stars 445 forks source link

Added support for MongoDB #19

Open atrieder opened 6 years ago

atrieder commented 6 years ago

These changes add support for the application to connect to MongoDB instances hosted on IBM Cloud. The application determines whether to use Cloudant or MongoDB at runtime based on the services that are available. For running locally, an additional "vcap-local.template.json" file can be configured with the necessary service details (this is documented towards the end of the README file).