@keystone-next/app-graphql-playground-legacy
@keystone-next/app-graphql-playground-legacy
npm i @keystone-next/app-graphql-playground-legacy
@keystone-next/app-graphql-playground-legacy

@keystone-next/app-graphql-playground-legacy

The most powerful headless CMS for Node.js — built with GraphQL and React

by keystonejs

5.1.10 (see all)License:MITTypeScript:Not Found
npm i @keystone-next/app-graphql-playground-legacy
Readme

GraphQL Playground App

View changelog

A KeystoneJS App that creates an Apollo GraphQL playground.

Usage

const { Keystone } = require('@keystone-next/keystone-legacy');
const { GraphQLApp } = require('@keystone-next/app-graphql-legacy');
const { GraphQLPlaygroundApp } = require('@keystone-next/app-graphql-playground-legacy');
const { AdminUIApp } = require('@keystone-next/app-admin-ui-legacy');

// Ensure that the GraphQLApp and GraphQLAppPlayground are referring to the same endpoint
const apiPath = '/admin/api';

module.exports = {
  keystone: new Keystone(),
  apps: [
    // This should come before the GraphQLApp, as it sets up the dev query middleware
    new GraphQLPlaygroundApp({ apiPath })
    // Disable the default playground on this app
    new GraphQLApp({ apiPath, graphiqlPath: undefined }),
    new AdminUIApp()
  ],
};

Config

OptionTypeDefaultDescription
apiPathString/admin/apiChange the API path
graphiqlPathString/admin/graphiqlChange the Apollo GraphQL playground path

Downloads/wk

2

GitHub Stars

7.2K

LAST COMMIT

9mos ago

MAINTAINERS

4

CONTRIBUTORS

218

OPEN ISSUES

94

OPEN PRs

31
VersionTagPublished
5.1.10
latest
2yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate