将AWS AppSync用作GraphQl Server
我正在尝试将我的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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以将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