Skip to content

amazingplants/koa-graphiql-explorer

Repository files navigation

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 {}`
}))

About

Use GraphiQL Explorer in your Koa app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •