ipld-eth-server/postgraphile
2019-01-24 14:41:30 -06:00
..
spec enable CORS 2018-11-13 14:29:08 -06:00
src enable CORS 2018-11-13 14:29:08 -06:00
package.json update license to AGPL-3.0 2019-01-24 14:41:30 -06:00
README.md Add Postgraphile subscription exposure 2018-09-04 20:20:43 -05:00
tsconfig.json Add Postgraphile subscription exposure 2018-09-04 20:20:43 -05:00
tsconfig.test.json Add Postgraphile subscription exposure 2018-09-04 20:20:43 -05:00
tslint.json Add Postgraphile subscription exposure 2018-09-04 20:20:43 -05:00
webpack.config.js Add Postgraphile subscription exposure 2018-09-04 20:20:43 -05:00
yarn.lock expose graphiql; temporary comment out postgraphile subscription setup; 2018-09-07 11:23:28 -05:00

Vulcanize GraphQL API

This application utilizes Postgraphile to expose GraphQL endpoints for exposure of the varied data that VulcanizeDB tracks.

Building

This application assumes the use of the Yarn package manager. The use of npm may produce unexpected results.

Install dependencies with yarn and execute yarn build. The bundle produced by Webpack will be present in build/dist/.

This application currently uses the Postgraphile supporter plugin. This plugin is present in the vendor/ directory and is copied to node_modules/ after installation of packages. It is a fresh checkout of the plugin as of August 31st, 2018.

Running

Provide the built bundle to node as a runnable script: node ./build/dist/vulcanize-postgraphile-server.js

Testing

Tests are executed via Jasmine with a console reporter via the yarn test task.