Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

Automatic creation of REST-API endpoints based on GraphQL endpoint and introspection


Hi guys,

I have the setting of a neo4j database and on top of that a GraphQL endpoint based on a schema and the Neo4j GraphQL library (3.x).

I would like to have also REST-endpoints for some programmers convenience to CRUD the data. As I'm spoiled with the ease and automatic how the neo4j GraphQL library does that, I wonder if some of you have hints for me.

My approach ist to use GraphQL introspection to retrieve the types from the GraphQL endpoint analyse it and then create endpoints based on the result. By this a change of the schema will automatically change the GraphQL endpoint and by eventually automatically (!) the REST endpoint.
I create this mechansim by hand as it is worthwhile by creating automation.

Do you have suggestions? Maybe the Javascript sofa API can help? Does anyone use it?

Thanks for your feedback!

Nodes 2022
NODES 2022, Neo4j Online Education Summit - November 16 - 17, 2022.

Free NODES Training Series

October 19th -

Intro to Neo4j

October 20th -

Healthcare Analytics Using Neo4j

October 25th -

Handling Neo4j data with Apache Hop

October 26th -

Blazing Fast Graphs: Hands-on with Apache Arrow and Neo4j

November 2nd -

Graph EDA Using the Neo4j GDS Client