The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Serve a GraphQL Schema as Middleware in Express

Serve a GraphQL Schema as Middleware in Express

4:03
If we have a GraphQL Schema expressed in terms of JavaScript, then we have a convenient package available to us that let’s us easily serve up our schema on any endpoint in an Express Server. In this video, we’ll use the `express-graphql` package to serve up our GraphQL Schema as middleware, and also learn how to enable the GraphiQL tool in order to query our GraphQL Schema.
Watch this lesson now
Avatar
egghead.io

If we have a GraphQL Schema expressed in terms of JavaScript, then we have a convenient package available to us that let’s us easily serve up our schema on any endpoint in an Express Server. In this video, we’ll use the express-graphql package to serve up our GraphQL Schema as middleware, and also learn how to enable the GraphiQL tool in order to query our GraphQL Schema.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?