Worked on the schema code

This commit is contained in:
2020-09-05 00:05:56 +10:00
parent e9655f1055
commit 7fa4c56bcc
6 changed files with 43 additions and 31 deletions

View File

@@ -2,6 +2,7 @@
const express = require('express');
const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.text());
//test the library
@@ -20,4 +21,4 @@ app.post('/simpleql', async (req, res) => {
//startup
app.listen(process.env.WEB_PORT || 3100, err => {
console.log(`listening to *:${process.env.WEB_PORT || 3100}`);
});
});