• Get the basic configuration definitions for GraphQL-specific settings

    Parameters

    • defaultPort: number
    • variables: Dict<undefined | string> = process.env

      process.env variables or custom provided values

    • Optional logger: LoggerFn

    Returns {
        graphqlGuiEnabled: (() => boolean);
        port: (() => number);
    }

    The following configuration values are included:

    port // e.g. PORT=8080
    graphqlGuiEnabled // e.g. GRAPHQL_GUI_ENABLED=true
    • graphqlGuiEnabled: (() => boolean)
        • (): boolean
        • Returns boolean

          Example

          GRAPHQL_GUI_ENABLED=true
          
    • port: (() => number)
        • (): number
        • Returns number

          Example

          PORT=8080
          

Generated using TypeDoc