graphql-gatsby-express
v1.0.1
Published
Express middleware for graphql-express
Downloads
25
Readme
graphql-gatsby-express
Install
npm install --save graphql-gatsby-express
Usage
const express = require('express');
const graphqlGatsby = require('graphql-gatsby-express'); // <-- add this line
const app = express();
const config = undefined; // Optional
graphqlGatsby.applyMiddleware({ app, config }); // <-- add this line
app.listen(3000);
Problems
Report problems to GitHub Issue Tracker