0.0.1 • Published 3 years ago
koa-graphiql-explorer v0.0.1
Use graphiql-explorer
in your Koa app.
Installation
npm install koa-graphql-explorer
Usage
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
3 years ago