在 Google Cloud Functions 上运行 Apollo GraphQL 服务器

拉吉·乔杜里

我想在 Google Cloud Functions 上运行 Apollo GraphQL 服务器。我想它基本上归结为运行具有不同路由的 Express 服务器。有可能吗,如果有,那怎么办?请注意,我不希望使用任何 Firebase 库与此处突出显示的相同:

1) Firebase 和 Express 的云函数

2) https://codeburst.io/graphql-server-on-cloud-functions-for-firebase-ae97441399c0

3) https://codeburst.io/express-js-on-cloud-functions-for-firebase-86ed26f9144c

谢谢。

拉吉·乔杜里

感谢 James Hegedus 的出色工作,这成为可能。查看https://github.com/jthegedus/firebase-gcp-examples/tree/main/deprecated/gcp-functions-graphql以获取解决方案。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

如何使用Apollo服务器从变量运行graphql查询

Apollo GraphQL服务器+ TypeScript

如何在Apollo GraphQL服务器上同步使用Knexjs

Rstudio服务器未在Google Cloud Compute Engine上运行

在Google Cloud Computing上设置FreeSwitch服务器

如何防止对GraphQL / Apollo服务器的嵌套攻击?

Graphql-Apollo服务器-热更新架构

AWS Lambda中的Apollo服务器Graphql

使用Apollo-Graphql在生产服务器上上传文件会返回CORS错误或POST 400错误请求

React和Nexus Graphql服务器上的Apollo客户端出现“必须提供查询字符串”错误

如何根据之前在 Apollo graphql 服务器上的 API 请求的结果,从前端提交 API 请求?

远程服务器上的 Apollo Playground

如何在 Google Cloud Functions 上运行 cython 的共享库?

如何在Google Cloud Functions上运行C ++文件?

在开发服务器(在本地主机上)上运行Google Cloud Endpoints的API Explorer不再起作用

用于运行 Google Cloud Platform 服务的任何服务器是否使用卡巴斯基产品?

在AWS上创建Apollo Graphql微服务的最佳实例是哪个?

通过Kubernetes / Ingress和Google Cloud Platform运行HTTPS SSE服务器

如何在 Google Cloud 中运行无服务器批处理作业

从浏览器连接到Apollo graphQL服务器时出现404错误

如何在Apollo graphql服务器中创建嵌套的解析器

如何在本地开发服务器上启用Google Cloud Storage?

Google Cloud Firestore-在此服务器上找不到URL

无服务器(例如Google Cloud Run)上的并发是否毫无意义?

Google Cloud App Engine Flex Env上的Flask-Socketio服务器

使用 Google Cloud Storage 在托管在亚马逊服务器上的网站中遇到错误 500

无服务器框架+ AWS + Lambda + DynamoDB + GraphQL + Apollo服务器=无法使POST请求生效

Google Cloud Functions GitHub自动部署器说:服务超时

react-apollo 没有连接到我的 graphql 本地服务器