apollo-server-lambda

  • Version 3.3.0
  • Published
  • 94.7 kB
  • 5 dependencies
  • MIT license

Install

npm i apollo-server-lambda
yarn add apollo-server-lambda
pnpm add apollo-server-lambda

Overview

Production-ready Node.js GraphQL server for AWS Lambda

Index

Classes

class ApolloServer

class ApolloServer extends ApolloServerExpress<LambdaContextFunctionParams> {}

    method createGraphQLServerOptions

    createGraphQLServerOptions: (req: any, res: any) => Promise<GraphQLOptions>;

      method createHandler

      createHandler: <TEvent = any, TResult = any>(
      options?: CreateHandlerOptions
      ) => any;

        method serverlessFramework

        protected serverlessFramework: () => boolean;

          Interfaces

          interface CreateHandlerOptions

          interface CreateHandlerOptions {}

            property expressAppFromMiddleware

            expressAppFromMiddleware?: (
            middleware: express.RequestHandler
            ) => express.Application;

              property expressGetMiddlewareOptions

              expressGetMiddlewareOptions?: GetMiddlewareOptions;

                Package Files (2)

                Dependencies (5)

                Dev Dependencies (1)

                Peer Dependencies (1)

                Badge

                To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/apollo-server-lambda.

                • Markdown
                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/apollo-server-lambda)
                • HTML
                  <a href="https://www.jsdocs.io/package/apollo-server-lambda"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>