Skip to content

Instantly share code, notes, and snippets.

@dhavaln
Created June 14, 2018 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhavaln/f425a732dce204cc4643793cdf79eee4 to your computer and use it in GitHub Desktop.
Save dhavaln/f425a732dce204cc4643793cdf79eee4 to your computer and use it in GitHub Desktop.
const express = require('express');
const graphql = require('express-graphql');
const app = express();
app.use('/graphiql', graphql({
graphiql: true,
schema: {}
}));
app.listen(3000)
// Go to http://localhost:3000/graphql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment