apollo-server-lambda

  • Version 3.13.0
  • Published
  • 22 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: express.Request,
    res: express.Response
    ) => Promise<GraphQLOptions>;

      method createHandler

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

        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>