Instructor: 00:00 We need to create GraphQL HTTP server with Express.js. We need to install another package, Express GraphQL, and GraphQL Tools. Now, we need to import the Express GraphQL. I am going to name it GraphQL HTTP from Express GraphQL.
00:19 Now, we need to create GraphQL endpoint. I am going to use app.use. The endpoint should be GraphQL. Here, we need to provide some options. Graphical should be true.
00:33 I also need to provide the schema. We don't have schema yet. Let's try to enter the schema object. I am going to start the application. Oops, I've got the error. "Cannot find module GraphQL." We did not install GraphQL.
00:55 Do it again, npm start. Cool. Server is running. Now, I am going to the localhost:3000/graphql. Cool. I've got the graphical. This is a graphical. Facebook has created this tool to test the GraphQL endpoints, queries, and mutations.
01:16 Welcome to the graphical...errors, expected object to be GraphQL schema, because we did not provide the valid schema object.