From 5dca0a04728469995c38f3134e548a55ff14f667 Mon Sep 17 00:00:00 2001 From: Christopher Talib Date: Wed, 13 May 2020 14:52:38 +0200 Subject: [PATCH] adding Dgraph explanantions --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 19b98f5..281a253 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,24 @@ elasticsearch: ``` +## Dgraph Interface + +You can connect to the Dgraph interface at this default address: localhost:8000. +There you would be able to run GraphQL+ queries, here to query a node. + +```graphql +query { + Node(func: eq(id, "node--cde8decb-0a8b-4d19-bd77-c2decb6dab9c")) { + uid + ndata + modified + type + id + } +} + +``` + ## Datastructure ### Meta @@ -92,7 +110,6 @@ type Edge struct { ``` - ### Certstream Node --[Edge]-- CertNode --[Edge]-- CertStreamRaw