Skip to Main Content
Exploring Graphs with Elixir
book

Exploring Graphs with Elixir

by Tony Hammond
November 2022
Intermediate to advanced content levelIntermediate to advanced
294 pages
5h 58m
English
Pragmatic Bookshelf
Content preview from Exploring Graphs with Elixir

Creating the DGraph Project

We’re going to be using the dlex[87] package by Dmitry Russ[88] which provides a gRPC-based Dgraph client for Elixir. (This was inspired by the earlier ex_dgraph[89] package by Ole Spaarmann.[90] )

DGraph Project/Database Setup

images/aside-icons/tip.png

See Appendix 1, Project Setups, for details on retrieving a working project with code and data.

And see Appendix 2, Database Setups, for help on setting up a local copy of Dgraph.

Let’s create a project DGraph. Go to the ExGraphsBook home project (see ExGraphsBook Umbrella), cd down into the apps directory, and open up the new DGraph project:

 $ ​​mix​​ ​​new​​ ​​d_graph​​ ​​--sup ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concurrent Data Processing in Elixir

Concurrent Data Processing in Elixir

Svilen Gospodinov

Publisher Resources

ISBN: 9798888650059Errata Page