This project acts a boilerplate for the GraphQL layer of visualizations.
To use the boilerplate:
git clone --depth=1 https://github.com/shahcompbio/viz-graphql-boilerplate.git <your project name>
rm -r <your project name>/.git
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:4000/graphql to view the playground in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Transpiles the app for production to the lib
folder.
Runs all tests.
This project can be built for production and packaged with Docker. To do this:
docker build . -t graphql-boilerplate
docker run -d -p 4000:4000 --name graphql graphql-boilerplate