本文介绍了适用于AppEngine Standard和NodeJS的本地开发服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用带有Appengine Standard的NodeJS针对本地Cloud Datastore实例进行开发?

How is one meant to develop against a local Cloud Datastore instance using NodeJS with Appengine Standard?

相比-Go开发环境随附本地Datastore服务器.

Comparatively - the Go development environment ships with a local Datastore server.

推荐答案

据我所知,NodeJS没有捆绑的本地Cloud Datastore服务器,但是您可以使用 Cloud Datastore模拟器:

For what I know, there's no bundled local Cloud Datastore server for NodeJS but you can use the Cloud Datastore emulator:

此外,我还找到了一个支持Cloud Datastore模拟器的 npm程序包.似乎有些过时了,但其中有一些有关如何使用NodeJS进行连接的信息,这些信息可能会很有用.

Also, I've found a npm package that supports the Cloud Datastore emulator. It seems a little bit outdated but has some information about how to connect to it with NodeJS and such that could be useful.

这篇关于适用于AppEngine Standard和NodeJS的本地开发服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!