GraphQL on AppEngine Standard

310 views
Skip to first unread message

Jagath Weerasinghe

unread,
Mar 1, 2021, 9:18:50 AM3/1/21
to Google App Engine
Hello, 

Currently, we are running our REST APIs on AppEngine standard (Java 8) with Cloud Endpoints. I am looking into running a GraphQL server on top of that to serve mobile clients. If you have done this I appreciate any recommendations/directions on getting this done. I see some cases running apollo graphql on appengine, but not sure about the production readiness of those solutions. 

Thanks! 
Jagath

Olu

unread,
Mar 1, 2021, 10:39:29 AM3/1/21
to Google App Engine

Hello, 

Running GraphQL On App Engine, it seems there is no GCP Documentation that particularly addresses this concern. However, I do believe there are some information over third party sites. 

I see this GitHub link[1] for graphql-yoga, which is based on the Apollo Framework. However, it requires Websockets which may not necessarily be available in App Engine Standard but with App Engine Flexible[2]. Hence, I am not sure how useful that would be in your use-case. I believe there are workarounds provided on this Stackoverflow links for App Engine Standard[3]. 

This article[4] also attempts to provide some pointers but it is important to note that the article used older apollo and Node.JS runtime. 

I suggest you likewise taking this question to the Apollo community[4] to discuss it further. 

Thanks!

Jagath Weerasinghe

unread,
Mar 2, 2021, 2:13:39 AM3/2/21
to Google App Engine
Thanks for the information and links!
Reply all
Reply to author
Forward
0 new messages