Build a Graph Store

Learn how to create a storage area to save graphs and queries.

Storage area

It’s time to look at persistence.

We’re going to work with graphs of various types. We want some place to store the graphs that we create and also a place to source example graphs. We also want to save selected queries for the various graph types that each have their own query languages.

In short, we want a graph store. Let’s build one.

priv_dir

We’ll set up a storage area in the usual place we use for bundling a project’s static files—the priv_dir. We'll first create a new directory priv:

Get hands-on with 1200+ tech skills courses.