Skip to content

Generated GraphQL schemas and resolvers from Neo4J Database so you don't have to manually created schema. Also get anything from Database just by passing command in request.

License

Notifications You must be signed in to change notification settings

vistaran/dynamic-graphql-from-neo4j

Repository files navigation

dynamic-graphql-from-neo4j

Generates GraphQL Schemas And Resolvers for Neo4j Database from Neo4j Database structure.

Server Start Command nohup nodemon ./example/graphql-tools/server.js --exec babel-node -e js </dev/null &

Features

  • ULTIMATE COMMAND PARSER - Pass anything it will return related data - /search
  • Translate basic GraphQL queries to Cypher on route - graphql
  • GraphQL UI - /graphiql

ULTIMATE COMMAND PARSER USE CASES (/search)

1. Passing Node name only in string

Pass Node name only in string param in body. e.g. Passing "Employee" will return all employees with their related sublevel data

2. Passing Node name + Value in string

e.g. Passing "Employee James Bond" This will return related nodes and their data related to that value.

3. Passing Value only

e.g. Passing "James Bond" will return all nodes along with their related data which contains provided value.

4. Passing Node + Value + Relationship

e.g. Passing "Employee James Bond items" will return all item nodes along with their data

5. Asking Question (Relationship + Value)

e.g. Passing "Who has procurement code 63G?" will return nodes with data related to procurement code with provided value

Well, thats all! Feel free to ask any questions.

Created with https://github.com/neo4j-graphql/neo4j-graphql-js

About

Generated GraphQL schemas and resolvers from Neo4J Database so you don't have to manually created schema. Also get anything from Database just by passing command in request.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published