0.0.3 • Published 1 year ago

express-graphiql-explorer v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Use graphiql-explorer in your Express app.

Installation

npm install express-graphql-explorer

Usage

const graphiqlExplorer = require('express-graphiql-explorer')
const express = require('express')

const app = express()

app.use('/graphiql', graphiqlExplorer({
  graphqlEndpoint: '/graphql', 
  defaultQuery: `query MyQuery {}`
}))