We use an npm package called neo4j-graphql-js as a cypher query builder. This library also generates resolvers for graphql queries, unless we implement them ourselves.
Debugging
As you can see in their it is possible to log out the generated cypher statements. To do so, run the backend like this: