adding Dgraph explanantions

This commit is contained in:
Christopher Talib 2020-05-13 14:52:38 +02:00
parent f0aa10a9d2
commit 5dca0a0472

View file

@ -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