Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phofmann/coremedia-commercetools-schema-stitching
https://github.com/phofmann/coremedia-commercetools-schema-stitching
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/phofmann/coremedia-commercetools-schema-stitching
- Owner: phofmann
- Created: 2020-06-04T15:35:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T16:54:58.000Z (about 2 years ago)
- Last Synced: 2024-10-25T13:45:57.584Z (3 months ago)
- Language: TypeScript
- Size: 1.06 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Connecting the CoreMedia GraphQL Schema with the commercetools GraphQL Schema
Run
```shell
yarn install
```
Then create a .env file and paste:```shell
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
```shell
yarn start
```
and open http://localhost:4000## Building docker container
```shell
docker build -t /schema-stitching-app .
``````shell
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= /schema-stitching-app:latest
```