Initial commit

This commit is contained in:
Joshua Seigler 2020-01-28 23:08:53 -05:00
commit 0bd76ac5dc
8 changed files with 1386 additions and 0 deletions

14
server/app.js Normal file
View file

@ -0,0 +1,14 @@
const express = require('express');
const graphqlHTTP = require('express-graphql');
const schema = require('./schema/schema');
const app = express();
app.use('/graphql', graphqlHTTP({
schema
}));
app.listen(4000, () => {
console.log('Listening on http://localhost:4000');
});