Best practice for NodeJS client development?

Great - thanks.
I have now a working VUEJS app working that used the dgraph-http-js library that talks directly with the dgraph database.
I have used the graphQL apollo library and used that to talk to NEO4J, where I “replace” all graphql queries with CYPHER queries. I quess I could the similar with DGRAPH, where I have my graphQL query in the client, and do a graphQL+ in the express server.

I agree that the best would be to have a separate express “server” that sits between my VUE client and the DGRAPH server. To get better security until DGRAPH have authentication and ACL implemented.

I will post a simple demo on GitHUb when I have this sorted out :slight_smile:

3 Likes