@shopify/cli-kit
    Preparing search index...

    Function setupGraphiQLServer

    • Starts a local HTTP server that hosts the GraphiQL UI and proxies requests to the Admin API for the configured store. Authentication is delegated to the supplied tokenProvider, so the same server can serve both shopify app dev and stored-session use cases.

      Parameters

      • options: SetupGraphiQLServerOptions

        Configuration for the server, including the target store, the pluggable token provider, and the local port to bind to.

      Returns Server

      The underlying Node http.Server instance, already listening on options.port.