Graphql express de base

const express = require("express");
const expressGraphQL = require("express-graphql").graphqlHTTP;

const app = express();

app.use(
  "/graphql",
  expressGraphQL({
    graphiql: true,
  })
);

app.listen(5000, () => console.log("Server run on http://localhost:5000/"));
metalheadcoder