Skip to content

Instantly share code, notes, and snippets.

Avatar

Kenny Worden kkworden

View GitHub Profile
@kkworden
kkworden / index.js
Last active Dec 10, 2018
Basic Express and GraphQL Setup
View index.js
'use strict';
const express = require('express');
const bodyParser = require('body-parser');
const graphql = require('graphql');
const app = express();
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
You can’t perform that action at this time.