apollo-server

  • Version 3.13.0
  • Published
  • 26.6 kB
  • 4 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 (4)

                        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>