README
@norfield/graphql
Apply
Apply Express middleware to use graphQL at the specified path
Parameters
app
Object An express.js node applicationString
path The url resource in which graphQL will be exposed (optional, default"graphql"
)
Examples
const express = require('express');
const app = express();
const UseGraphQL = require('@norfield/graphql');
...
UseGraphQL(app);
Installation
Install this module individually:
$ npm install @norfield/graphql
Or install the Norfield module that includes it as:
$ npm install @norfield/norfield