I tried, and I failed. Mad props to those who wrote graphQL

This commit is contained in:
2020-03-04 16:48:29 +11:00
parent 8ef1d0efbd
commit 66d8cd7630
4 changed files with 100 additions and 7 deletions

View File

@@ -1,6 +1,8 @@
//express for testing
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.text());
//test the library
const schema = require('./schema.js');