将AWS AppSync用作GraphQl Server

发布于 2025-02-04 20:38:15 字数 541 浏览 3 评论 0原文

我正在尝试将我的React Native移动应用程序与GraphQl Server连接。为此,作为GraphQl客户端,我正在使用 apollo client 。我希望使用AWS服务,并且在选择合适的GraphQL Server方面有问题。

我可以使用AWS AppSync而不是使用单独的GraphQl服务器,例如 apolloserver a href =“ https://graphql.org/graphql-js/running-an--express-graphql-server/” rel =“ nofollow noreferrer”> express graphql ext

I am trying to connect my react native mobile app with graphql server. For that, as the graphql client I am using Apollo Client. I hope to use AWS services and, I have a problem in selecting the suitable graphql server.

Can I use AWS AppSync instead of using a separate GraphQL server such as ApolloServer, Express GraphQL etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

绻影浮沉 2025-02-11 20:38:15

是的,您可以将AWS AppSync用作AWS上的GraphQl Server。 AWS AppSync是一项AWS服务,用于创建完整的GraphQL API层。因为这是一项托管服务,这意味着您不必担心为后端提供服务器。

我建议您使用无服务器框架来管理和部署AppSync应用程序。这是您可以开始使用的链接,可能会为您提供一个好主意如何将无服务器用于AppSync应用程序。

https://www.serverless.com/guides/guides/guides/aws-appsync

Yes, you can use AWS AppSync as a GraphQL server on AWS. AWS AppSync is an AWS service for creating your fully managed GraphQL API layers. Since, it is a managed service, which means you don't need to worry about provisioning a server for your backend.

I would suggest you to use Serverless framework to manage and deploy your AppSync application. Here is the link for you to get started and will probably give you a good idea how to use Serverless for AppSync applications.

https://www.serverless.com/guides/aws-appsync

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文