Hacker News new | ask | show | jobs
by diveanon 1832 days ago
Neo4j can be a useful supplement to apps that have data models that include graphs.

If you are using relational db you can use recursion to achieve the same effect without having bring n4j and cipher into your stack.

A simple example of implementing a hierarchical graph data structure on postgres and exposing it via graphql can be found on the hasura blog.

https://hasura.io/blog/authorization-rules-for-multi-tenant-...

1 comments

(from Hasura) I've been wanting to try out a thing and use Neo4j + Postgres simultaneously. Use Postgres for data, Neo4j for relationships and graph-y queries.

Has anyone tried that? Would love any notes/pointers!

Join data across the two to get the best of both basically. Hasura doesn't support Neo4j natively yet, but maybe using Neo4j's graphql wrapper as an input to Hasura perhaps?