This is a minimal GraphQL gateway powered by GrAMPS 1.0. It sets up a /graphql
endpoint + a GraphiQL interface and
pulls in the xkcd GrAMPS data source.
This is useful for testing the following scenarios:
- Seeing
@gramps/gramps
in action and testing@gramps/cli
with a custom gateway (seeyarn dev
). - Testing the override of local data sources in development.
- To test this:
- clone the xkcd data source:
git clone git@github.com:gramps-graphql/data-source-xkcd.git
- run
yarn dev -d ../path/to/data-source-xkcd
- clone the xkcd data source:
- To test this:
- Testing local development alongside other data sources.
- To test this:
- run
npx degit gramps-graphql/data-source-base#feat/1.x-refactor my-data-source
to create a new data source. - run
yarn dev -d ../path/to/my-data-source
in the quickstart root to fire up the new data source alongside the already installed xkcd data source.
- run
- To test this: