Node-red supports the creation of a custom Context Store.
I am interested in having/developing a custom context store using a Cloudant DB instance provisioned by IBM Cloud. Note that the idea is also that the node-red application is running in a container instance on the IBM Cloud.
Note that only the context should be stored in the Cloudant DB instance, not the flows, settings, package.json files. The rationale behind this request is that IBM cloud will remove the container instance when it is not used for some time which means that all the context variables are lost which I don't want. I would like the context to persist.
Regarding creating this new custom context store:
My issue is not how to access the Cloudant DB on IBM Cloud but how to write the custom Context Store module.
The following 2 pages already describe a good part of this:
How is it best to start this ? Is there already something similar that can be used as a start?