Raja_KT
Architect
Architect
  • UID6384
  • Fans3
  • Follows3
  • Posts555
Reads:33984Replies:2

Build a GraphQL API on Function Compute and API Gateway

Created#
More Posted time:Mar 1, 2019 16:22 PM
Street children suffer not because of their fault. We can help them if we want.Contact me.

Pororo
Intern
Intern
  • UID8148
  • Fans0
  • Follows0
  • Posts1
1st Reply#
Posted time:Oct 15, 2019 16:22 PM
Any idea how to deploy apollo server graphql on alibaba function compute?

afzaalvirgoboy
Intern
Intern
  • UID6091
  • Fans0
  • Follows0
  • Posts37
2nd Reply#
Posted time:Oct 23, 2019 5:23 AM
Hi Pororo,


The Apollo GraphQL follows the same semantics as the GraphQL that is being demonstrated here with the sample. But you should understand that a serverless function is a complex object, in that, it is entirely stateless, and does not persist after a request has been responded to. Thus, it would be nicer to deploy such applications using ECS or similar products, that provide you with a complete control over the lifecycle of a product.



For a comparison of GraphQL and Apollo Server GraphQL, you can review more here: https://www.apollographql.com/docs/apollo-server/
Guest