4 GraphQL engines
This chapter covers:
- Reviewing common issues that arise when building GraphQL backends
- Introducing database integrations for GraphQL that aim to address these common problems, specifically neo4j-graphql.js
- Building a GraphQL endpoint backed by Neo4j, taking advantage of the features of neo4j-graphql.js: autogenerated Query and Mutation API, filtering, pagination, temporal/spatial data types
- Extending the functionality of our auto-generated GraphQL API with custom logic
- Inferring a GraphQL endpoint from an existing Neo4j database
GraphQL backend implementations commonly run into a set of issues that negatively impact performance and developer productivity. We’ve identified some of these problems previously (such as the "n+1 query problem") and in this chapter we take a deeper look at these common issues that arise and discuss how they can be mitigated using database integrations for GraphQL that make it easier to build efficient GraphQL APIs backed by databases.