Neo4j GraphQL Server
  • Introduction
  • Neo4j GraphQL Server
  • Neo4j GraphQL Binding
    • neo4jGraphQLBinding
    • neo4jIDL
    • neo4jAssertConstraints
    • buildNeo4jTypeDefs
    • buildNeo4jResolvers
  • GRANDstack Starter
  • GraphQL Community Graph
Powered by GitBook
On this page
  • Goal
  • Features
  • Contact
  • Resources

Introduction

NextNeo4j GraphQL Server

Last updated 6 years ago

It seems that users could benefit from using and graph database users could benefit from using GraphQL. Thankfully, much has already been done to support this direction.

As part of the project, has built a GraphQL-Endpoint extension named , which provides an and custom database procedures for updating the schema and running operations. They have also built the package, which converts GraphQL requests directly to Cypher requests and is especially useful when the Neo4j-GraphQL extension is not available for some endpoint.

The provides a variety of technologies that support working with GraphQL, including and for composable networking.

has developed a collection of . Their package makes it easier to use . They have also built the , which supports .

Goal

A central goal of this project is to use Neo4j graph databases and Apollo server and networking resources to support progressively enhancing a GraphQL API that draws from current developments within the GraphQL community and further explores using GraphQL with graph databases. Given that Neo4j uses a property graph model, it should be interesting to develop features that take advantage of .

Features

  • Augments your schema without needing to introspect your Neo4j-GraphQL HTTP endpoint and uses the ⚡ Bolt driver for all operations.

  • Allows using the directive from Neo4j-GraphQL for computed fields, query types and mutations.

  • Generates the same generated by Neo4j-GraphQL and delegates them to your Neo4j instance to be processed by the extension. Supports the same query arguments first, offset, orderBy, and filter, similar to those found in the .

  • Supports nested create and connect mutations like those in the (update, delete, etc. in development).

  • Generates for query and mutation types with a @cypher directive, as well as all auto-generated types.

  • Supports a field directive for node property in Neo4j in order to make node selection more robust.

  • Adds a field (if not provided) to any type with a @model directive and uses the package to generate id field values for all auto-generated creation mutations.

Contact

I find the possibility of using GraphQL with Neo4j graph databases very interesting because I'm interested in the underlying activity of people using graph theoretic resources to build up complex descriptions of the world. I'm very happy to see a lot of activity with these technologies and would love to support the development communities in any way I can.

Resources

If you want to work together or need help with something, feel free to email me at michaeldgrahams@gmail.com or reach out on or .

Using The Neo4j-GraphQL Plugin In Neo4j Desktop

GRANDstack -- Build full stack graph applications with ease

Neo4j-GraphQL Extension -- A GraphQL-Endpoint extension for Neo4j

Using neo4j-graphql-js

What are GraphQL Bindings?

Open Source Prisma Resources /

Apollo Server 2.0

Apollo Link -- Composable networking for GraphQL

GraphQL
graph databases
GRANDstack
Neo4j
Neo4j-GraphQL
auto-generated API
neo4j-graphql-js
Apollo Platform
Apollo Server 2.0
Apollo Link
Prisma
GraphQL resources
graphql-binding
schema delegation
Prisma API
nested mutations
relationship properties
@cypher
query types
Prisma Query API
Prisma Mutation API
resolvers
@unique
constraints
id: ID! @unique
cuid
LinkedIn
Twitter
https://blog.grandstack.io/using-the-neo4j-graphql-plugin-in-neo4j-desktop-c8a60aa014d9
https://grandstack.io/
https://github.com/neo4j-graphql/neo4j-graphql
https://grandstack.io/docs/neo4j-graphql-js.html
https://www.prisma.io/blog/graphql-binding-2-0-improved-api-schema-transforms-automatic-codegen-5934cd039db1/
https://oss.prisma.io
https://www.apollographql.com/docs/apollo-server/v2/
https://www.apollographql.com/docs/link/