If I understand it correctly, there is a
database in your organization that needs to be accessed via
REST API in a platform-independent way.
I assume
you want to use Node.js, since there are some examples available in SO for your use case.
But there is also a JavaScript client library, with which the Google APIs are accessible:
We use asynchronous calls to minimize the impact of latency. In this respect, your JavaScript endpoint must be able to communicate asynchronously.
This should be possible with BANano (please correct me,
@alwaysbusy, if I'm wrong).:
The hurdle for accessing Google API data can still be influenced by choosing the
right authentication. In addition to the API key method, there is also the option of using an
access token via service account.
If your use case allows it, Cloud Datastore can be upgraded to Firestore and run in Datastore mode (Firestore is the next generation of Datastore).
This opens up the possibility to take full advantage of Firebase authentications:
BTW here is a sample code for the "Google Compute Engine API", which could be usable for your case: