0.0.1 • Published 5 years ago
koa-graphiql-explorer v0.0.1
Use graphiql-explorer in your Koa app.
Installation
npm install koa-graphql-explorerUsage
const graphiqlExplorer = require('koa-graphiql-explorer')
const Koa = require('koa')
const app = new Koa()
app.use(graphiqlExplorer({
  mountPoint: '/graphiql',
  graphqlEndpoint: '/graphql', 
  defaultQuery: `query MyQuery {}`
}))0.0.1
5 years ago