apollo-server

  • Version 3.3.0
  • Published
  • 82.7 kB
  • 3 dependencies
  • MIT license

Install

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

Overview

Production ready GraphQL Server

Index

Classes

class ApolloServer

class ApolloServer extends ApolloServerExpress {}

    constructor

    constructor(config: any);

      method applyMiddleware

      applyMiddleware: () => void;

        method listen

        listen: (...opts: Array<any>) => Promise<ServerInfo>;

          method start

          start: () => Promise<void>;

            Interfaces

            interface ServerInfo

            interface ServerInfo {}

              property address

              address: string;

                property family

                family: string;

                  property port

                  port: number | string;

                    property server

                    server: http.Server;

                      property url

                      url: string;

                        Package Files (1)

                        Dependencies (3)

                        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.

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