Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/makerdao/pg-graphql


https://github.com/makerdao/pg-graphql

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

## pg-graphql

Cache Maker system data from the blockchain to PostgreSQL and serve
over GraphQL:

`npm run sync` - sync back from the latest block

`BLOCK=1234 npm run sync` - overwrite the cache from the specified block

`npm run subscribe` - sync any missing blocks & watch for future updates

`npm run graphql` - run graphql in development

`rpm build && npm serve` - run graphql in production