{"id":20639708,"url":"https://github.com/xolvio/contentful-apollo-federation-example","last_synced_at":"2026-05-04T23:32:50.185Z","repository":{"id":136549622,"uuid":"459356416","full_name":"xolvio/contentful-apollo-federation-example","owner":"xolvio","description":"Example of how to use the contentful-apollo-federation package","archived":false,"fork":false,"pushed_at":"2022-02-19T05:37:22.000Z","size":65,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-30T07:49:36.183Z","etag":null,"topics":["apollo","apollo-federation","apollo-federation-2","apollo-server","contentful","contentful-api","graphql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xolvio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2022-02-14T23:14:20.000Z","updated_at":"2022-02-23T19:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"e2ac0ebd-5728-4df9-a763-a902874fb5fd","html_url":"https://github.com/xolvio/contentful-apollo-federation-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xolvio/contentful-apollo-federation-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xolvio%2Fcontentful-apollo-federation-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xolvio%2Fcontentful-apollo-federation-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xolvio%2Fcontentful-apollo-federation-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xolvio%2Fcontentful-apollo-federation-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xolvio","download_url":"https://codeload.github.com/xolvio/contentful-apollo-federation-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xolvio%2Fcontentful-apollo-federation-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32628829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["apollo","apollo-federation","apollo-federation-2","apollo-server","contentful","contentful-api","graphql"],"created_at":"2024-11-16T15:25:53.178Z","updated_at":"2026-05-04T23:32:50.156Z","avatar_url":"https://github.com/xolvio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# contentful-apollo-federation example\n\nExample repo showing how to use this package:\nhttps://github.com/xolvio/contentful-federation/\n\n## How to run\n\n### Creating the content in Contentful\n\nThis creates a \"Review\" content type and a \"Review\" content entry.\n\n```sh\nnpm run build \u0026\u0026 CONTENTFUL_SPACE=\u003cCONTENTFUL_SPACE_ID\u003e CONTENTFUL_ACCESS_TOKEN=\u003cCONTENTFUL_CONTENT_MANAGEMENT_TOKEN\u003e CONTENTFUL_ENVIRONMENT=\u003cCONTENTFUL_ENVIRONMENT\u003e npm run create-content\n```\n\nAlternatively you can also [create the content manually](#creating-the-contentful-content-manually) through the Contentful UI.\n\n### Installation\n\n```sh\nnpm install\n```\n\n### Building\n\n```\nnpm run build\n```\n\n### Starting\n\n#### Starting subgraph servers\n\n```sh\nCONTENTFUL_SPACE=\u003cSPACE\u003e CONTENTFUL_ACCESS_TOKEN=\u003cACCESS_TOKEN\u003e npm run start-subgraphs\n```\n\n#### Composing the supergraph\n\n##### Requirements\n\n* [Rover CLI with Federation 2 plugin installed](https://www.apollographql.com/docs/federation/v2/quickstart/setup/#1-install-the-rover-cli)\n\n```sh\nnpm run compose\n```\n\n#### Starting gateway server\n\n```sh\nnpm run start-gateway\n```\n\n## Creating the Contentful content manually\n\n### Creating the model in Contentful\n\n1. In the Contentful UI, go to the page \"Content model\":\n2. Add content type\n1. Name: Review\n2. Create\n3. Add field 1. Type: Text 2. Name: upc 3. Create\n4. Add field 1. Type: Text 2. Name: body 3. Long text, full-text search 4. Create\n5. Save\n\n### Creating the content in Contentful\n\n1. In the Contentful UI, go to the page \"Content\":\n2. Add entry: Review\n1. upc: 1\n2. Publish\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxolvio%2Fcontentful-apollo-federation-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxolvio%2Fcontentful-apollo-federation-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxolvio%2Fcontentful-apollo-federation-example/lists"}