Dgraph Development Starter

Hey guys,

Deploying schema and lambda script was a pain in the neck for me all the time and as a result I implemented a development environment for Dgraph(v21.03).

It needs nodejs and docker-compose and you can start dgraph with:

npm run start:dev

After running this command each time you are saving schema it redeploys the schema and each time you are changing something in src folder in creates the javascript bundle again.

I used Typescript in combination with prettier and eslint for a better exprience and I bundle these file using Webpack 5.

Here is the github project:
GitHub - pshaddel/dgraph-dev: A ready to use local development environment for Dgraph project

Iā€™m looking forward for your feedbacks. Let me know if it is useful or not and how we can improve this repository.

1 Like