[WIP] The public API to the Urbit network explorer (https://network.urbit.org)
Commits to this repo follow Conventional Commit format. A settings file for VSCode users is also included.
If using MacOS, install Postgres via Homebrew with brew install postgresql
, then start it as a daemon with brew services start postgresql
. You should now have a Postgres server running on port 5432. If not on MacOS, descriptions of other methods of installing and running a local Postgres database are easily available online.
Run yarn
to install all packages, then start the server with node index.js
.
Interact with the API locally through GraphQL Playground by going to http://localhost:4000/
. The following query returns the output of the resolver for the defined items:
query {
getDB
getNode
getNodes
getPKIEvents
getActivity
}
Items may be added or remove from the query as needed.