适用于AppEngine Standard和NodeJS的本地开发服务器 [英] Local development server for AppEngine Standard and NodeJS

查看:79
本文介绍了适用于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服务器,但是您可以使用

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

Google Cloud Datastore模拟器提供了生产Cloud Datastore环境的本地模拟.您可以使用仿真器在本地开发和测试您的应用程序.

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.

此外,我还找到了一个支持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的本地开发服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆