Graph database builder Neo4j has built a technology stack called Grand intended for full-stack web and mobile applications that involve complex manipulation of data.
The Grand stack also enables more complex graph traversal. Developers do not have to implement resolver functions for the GraphQL server because they are provided by using the stack, based on the schema. Resolver functions define how to fetch data in a GraphQL server implementation, either from a database or an API.
The stack itself still is in development; the Neo4J-GraphQL integration remains in beta, for example, and tighter integration with the database is sought. Development of role-based access to the schema fields is part of this plan.
Components of the stack, all open source, include:
- The GraphQL query language and runtime for building APIs, developed by Facebook.
- The Apollo suite of tools for building GraphQL workflows
- The Neo4j graph database, enabling data modeling real-time querying via the Cypher language.
To show how Grand works, Neo4j has an online workshop that uses the stack to build a movie-recommendations web application. This application can be done easily with Grand stack because developers need only annotate GraphQL fields with a Cypher query designating how to generate a recommendation, said Will Lyon, a software engineer at Neo4j who built the stack’s GraphQL and Neo4j integrations.
Where to download Grand stack resources
Grandstack.io features resources for the project. Developers can access the projects comprising the stack at the project’s websites or on GitHub: