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.
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).
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).