This is a minimal working example showing how to use earthstar-graph-db
, which is a graph database that runs on top of Earthstar.
It's a tiny command line script that just creates a single edge, then queries to get the edge back.
yarn install
yarn build
yarn start
See src/index.ts
.