{"id":22214010,"url":"https://github.com/xmlking/graphql-mesh-specific","last_synced_at":"2026-03-19T22:07:20.414Z","repository":{"id":232810880,"uuid":"624037161","full_name":"xmlking/graphql-mesh-specific","owner":"xmlking","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-21T02:29:06.000Z","size":591,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-25T06:28:11.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xmlking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-05T15:57:38.000Z","updated_at":"2023-04-05T16:05:57.000Z","dependencies_parsed_at":"2024-04-11T16:13:35.324Z","dependency_job_id":"7ee824b8-06fc-4168-8695-6631476f8570","html_url":"https://github.com/xmlking/graphql-mesh-specific","commit_stats":null,"previous_names":["xmlking/graphql-mesh-specific"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xmlking/graphql-mesh-specific","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgraphql-mesh-specific","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgraphql-mesh-specific/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgraphql-mesh-specific/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgraphql-mesh-specific/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmlking","download_url":"https://codeload.github.com/xmlking/graphql-mesh-specific/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmlking%2Fgraphql-mesh-specific/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339632,"owners_count":24234551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T21:12:57.294Z","updated_at":"2025-10-29T00:50:00.076Z","avatar_url":"https://github.com/xmlking.png","language":"Dockerfile","readme":"# GraphQL Mesh Docker\n[GraphQL Mesh](https://the-guild.dev/graphql/mesh)  docker image build specific to a project needs. \n\n## Setup\n### Prerequisites\n\ninstall `tsx` globally\n```shell\npnpm add -g tsx\n```\n\n## Tools\n\n### Introspect\nTool to Generate scheam for a given GraphQL endpoint\n```shell\nnode tools/introspect.mjs https://api.cartql.com \u003e ./src/schema/cartql.scheam.graphql\n```\n\n##  Build\n```shell\nVERSION=$(git describe --tags || echo \"HEAD\")\n# VERSION=v0.1.0\nBUILD_TIME=$(date +%FT%T%Z)\nREGISTRY=ghcr.io\nIMAGE_NAME=xmlking/graphql-mesh-specific\nDOCKER_IMAGE=$REGISTRY/$IMAGE_NAME\n\n# build\nexport DOCKER_CLI_EXPERIMENTAL=enabled\ndocker buildx create --use\n\ndocker build \\\n-t $DOCKER_IMAGE\\:$VERSION \\\n-t $DOCKER_IMAGE\\:latest \\\n--build-arg BUILD_TIME=$BUILD_TIME --build-arg BUILD_VERSION=$VERSION \\\n--push .\n\n\n# (optional) pull recent images from GHCR\ndocker pull --platform linux/arm64 $DOCKER_IMAGE\\:$VERSION\n\n# run\ndocker run -it --rm --platform linux/arm64 -p 4000:4000 \\\n-e NODE_ENV=production -e NODE_TLS_REJECT_UNAUTHORIZED=0 --env-file ./.env $DOCKER_IMAGE:$VERSION\n```\n\nDebug container \n```shell\nDOCKER_HOST=unix:///Users/schintha/.rd/docker.sock dive  $DOCKER_IMAGE:$VERSION\n```\n\n## Run\n```shell\n# start mesh\ndocker compose up mesh\n# stop mesh\ndocker compose down\n# stop mesh and remove volume\n# if Error: EACCES: permission denied, open '/app/.mesh/\ndocker compose down -v\n```\n\n\n## Reference \n\n- [A guide to the GraphQL Mesh library](https://blog.logrocket.com/a-guide-to-the-graphql-mesh-library/)\n  - See cache usage\n- [nx-mesh](https://github.com/domjtalbot/nx-mesh/blob/main/libs/example/sdk/json-schema/fake-api/.meshrc.yml)\n- [GraphQL Mesh Services examples](https://github.com/charlypoly/graphql-mesh-docs-first-gateway)\n- [Use Hasura + GraphQL Mesh to create the ultimate data graph](https://hasura.io/blog/graphql-everywhere-use-hasura-graphql-mesh-to-create-the-ultimate-data-graph-uri-goldshtein/)\n- [GraphQL Mesh Docker](https://github.com/onelittlenightmusic/graphql-mesh-docker)\n- [gql-bff example project](https://github.com/osstotalsoft/atlas/tree/main/gql-bff)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fgraphql-mesh-specific","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmlking%2Fgraphql-mesh-specific","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmlking%2Fgraphql-mesh-specific/lists"}