Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.2 KB

README.md

File metadata and controls

50 lines (31 loc) · 1.2 KB

GraphQL Boilerplate

This project acts a boilerplate for the GraphQL layer of visualizations.

React layer GraphQL layer

Features

How to use

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

Available Scripts

In the project directory, you can run:

yarn start

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.

yarn build

Transpiles the app for production to the lib folder.

yarn test

Runs all tests.

Docker build

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