From ecdcb2b4025b8bc59b52ae1627340d883352f994 Mon Sep 17 00:00:00 2001 From: Isman Usoh Date: Tue, 1 Mar 2016 12:42:11 +0700 Subject: [PATCH] Create express-graphql-tests.ts --- express-graphql/express-graphql-tests.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 express-graphql/express-graphql-tests.ts diff --git a/express-graphql/express-graphql-tests.ts b/express-graphql/express-graphql-tests.ts new file mode 100644 index 000000000..ec9e48ea4 --- /dev/null +++ b/express-graphql/express-graphql-tests.ts @@ -0,0 +1,10 @@ +/// +/// + +var express = require("express"); +var graphqlHTTP = require("express-graphql"); +var app = express(); + +var schema = {}; + +app.use("/graphql", graphqlHTTP({ schema: schema, graphiql: true }));