Best way to create Microservices that are offered to other devs as APIs

Modeling data in Dgraph is straightforward and similar to other databases. If you want to use GraphQL, Dgraph follows all the GraphQL specification standards. Therefore, any microservice application (desing)pattern you’re familiar with when using GraphQL can be applied to Dgraph.

Although many Dgraph examples focus on UI, there’s nothing stopping you from using it for backend purposes. In fact, Dgraph’s GraphQL layer serves as a complete backend solution, automatically creating a sort of CRUD functionality out-of-the-box. The way Dgraph nodes/instances communicate as distributed system, is similar to some microservices models.

While we don’t have public examples of microservices with Dgraph, our community has developers who have successfully built microservices using Dgraph. They often share their experiences and insights.