apollographql / apollo-server

🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
https://www.apollographql.com/docs/apollo-server/
MIT License
13.77k stars 2.03k forks source link

Docs: reinstate serverless deployment guides #7056

Open trevor-scheer opened 2 years ago

trevor-scheer commented 2 years ago

We should reintroduce (and update) our deployment guides for getting Apollo Server up and running in the popular serverless frameworks (lambda, azure, cloud, ...others?)

@glasser proposed a one-size-fits-most approach using @vendia/serverless here which we should lean in to: https://github.com/apollo-server-integrations/apollo-server-integration-aws-lambda/issues/38

We can suggest more specific implementations secondarily or as an "advanced usage" (i.e. @as-integrations/aws-lambda for users who are concerned about bundle size).

trevor-scheer commented 2 years ago

Consider incorporating changes proposed by https://github.com/apollographql/apollo-server/pull/5675 if Azure guide is reinstated.

rkoron007 commented 2 years ago

For context: right now I'm working on updating our AS3 Lambda guide to use @as-integrations/aws-lambda deploying using the Serverless framework to AWS Lambda. Hope to have a PR up before EOD. :)

rkoron007 commented 2 years ago

PR for updating Lamda here: https://github.com/apollographql/apollo-server/pull/7058

We could also add the @vendia/serverless-express package approach to the Integration Index page or add a separate "Serverless" integration article that'd show how to use @vendia/serverless-express and links out to the Lambda and Azure articles for details on how to use those integrations.