Set up a Graph Service

Learn how to set up a graph service API for Dgraph.

In order to use the graph services API, we need to define some wrapper functions for the Dlex library functions.

Schema API

First, let’s add a special function to the DGraph.Service module to upload our Dgraph schema:

Get hands-on with 1200+ tech skills courses.