如何使用 NodeJS 和 Appengine Standard 针对本地 Cloud Datastore 实例进行开发?
相比之下 - Go 开发环境附带本地数据存储服务器。
最佳答案
据我所知,NodeJS 没有捆绑的本地云数据存储服务器,但您可以使用 Cloud Datastore emulator :
The Google Cloud Datastore emulator provides local emulation of the production Cloud Datastore environment. You can use the emulator to develop and test your application locally.
此外,我还找到了 npm package that supports the Cloud Datastore emulator 。它看起来有点过时,但有一些关于如何使用 NodeJS 连接到它的信息,这些信息可能很有用。
关于node.js - AppEngine Standard 和 NodeJS 的本地开发服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51667246/