Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

urbit/network-api-deprecated

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

network-api

[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.

Postgres Database

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.

Node Server

Run yarn to install all packages, then start the server with node index.js.

API

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.

About

[WIP] The public API to the Urbit network explorer (https://network.urbit.org)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published