@norfield/graphqldeprecated

norfield graphql module

Usage no npm install needed!

<script type="module">
  import norfieldGraphql from 'https://cdn.skypack.dev/@norfield/graphql';
</script>

README

@norfield/graphql

Apply

Apply Express middleware to use graphQL at the specified path

Parameters

  • app Object An express.js node application
  • String 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