Skip to content

phofmann/coremedia-commercetools-schema-stitching

Repository files navigation

Connecting the CoreMedia GraphQL Schema with the commercetools GraphQL Schema

Run

yarn install

Then create a .env file and paste:

COREMEDIA_ENDPOINT=
COREMEDIA_SCHEMA_PREFIX=

CT_PROJECT_KEY=
CT_CLIENT_ID=
CT_CLIENT_SECRET=
CT_SCOPE=
CT_AUTH_HOST=https://auth.europe-west1.gcp.commercetools.com
CT_API_HOST=https://api.europe-west1.gcp.commercetools.com

afterwards run

yarn start

and open http://localhost:4000

Building docker container

docker build -t <REGISTRY_NAME>/schema-stitching-app .
docker run -p 12345:4000 -e COREMEDIA_ENDPOINT= -e COREMEDIA_SCHEMA_PREFIX= -e CT_PROJECT_KEY=cm-kre-test -e CT_CLIENT_ID= -e CT_CLIENT_SECRET= -e CT_SCOPE= -e CT_AUTH_HOST= -e CT_API_HOST=  <REGISTRY_NAME>/schema-stitching-app:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published