
We'll also require our GraphQL HTTP server, by requiring express-graphql. Now that those are installed, let's go and hop into our editor and require Express. The first one will be Express, but the second one's going to be a package called express-graphql, which will actually enable us to serve up our GraphQL schema as a middleware in Express. Let's actually go and hop into our terminal and use yarn to add two dependencies.


Instead of building out our GraphQL schema using this build schema utility function, and then executing queries against that schema using the GraphQL utility function, it's actually very common to serve up our schema as this middleware in some kind of web framework or library like Connect or Express.
