How to execute dgraph API in react-native app

It is not recommended to give direct access to Dgraph to the applications you have (unless you have ACL or some testing concepts). It is recommended that you have a separate API that is between your back-end and final client. Or use Dgraph’s native GraphQL API (or use Slash Dgraph) with Auth. In the latter case, you can use any GraphQL client for RN.

2 Likes