{"id":15143643,"url":"https://github.com/contentful/starter-hydrogen-store","last_synced_at":"2025-07-22T20:03:58.206Z","repository":{"id":66184222,"uuid":"502020808","full_name":"contentful/starter-hydrogen-store","owner":"contentful","description":"Example store starter template built with Contentful and Hydrogen framework from Shopify","archived":false,"fork":false,"pushed_at":"2024-08-01T18:09:39.000Z","size":1054,"stargazers_count":16,"open_issues_count":6,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T18:22:50.700Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/contentful.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-10T11:40:08.000Z","updated_at":"2025-01-30T13:12:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8078a800-9bde-4591-9806-049189e57c0c","html_url":"https://github.com/contentful/starter-hydrogen-store","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/contentful/starter-hydrogen-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fstarter-hydrogen-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fstarter-hydrogen-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fstarter-hydrogen-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fstarter-hydrogen-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contentful","download_url":"https://codeload.github.com/contentful/starter-hydrogen-store/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentful%2Fstarter-hydrogen-store/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266563915,"owners_count":23948689,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-09-26T10:02:24.182Z","updated_at":"2025-07-22T20:03:58.127Z","avatar_url":"https://github.com/contentful.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contentful and Hydrogen Starter\n\n![Hydrogen + Contentful Starter Template](./screenshot.png 'Starter Template for Hydrogen + Contentful')\n\nStarter template to create a Shopify custom storefront with Contentful and Hydrogen\n\nHydrogen is a React framework and SDK that you can use to build fast and dynamic Shopify custom storefronts.\n\nContentful is the most flexible and easy headless CMS that can power up your customer shopping experience with flexible content models, and field editors for authors to collaborate and manage content.\n\n[Check out the docs](https://shopify.dev/custom-storefronts/hydrogen)\n\n## What's in this template\n\n- Styling with [Tailwind](https://tailwindcss.com/)\n- End-to-end testing with [Playwright](https://playwright.dev)\n- Unit testing with [Vitest](https://vitest.dev) and [Testing Library](https://testing-library.com)\n- Code formatting with [Prettier](https://prettier.io)\n- Javascript linting with [ESLint](https://eslint.org) and the Hydrogen [ESLint plugin](https://github.com/Shopify/hydrogen/tree/main/packages/eslint-plugin)\n- Contentful\n\n## Getting started\n\n**Requirements:**\n\nAdd your Contentful space Id and preview access token to `.env`\n\n```\nCONTENTFUL_SPACE_ID=YOUR_SPACE_ID\nCONTENTFUL_ACCESS_TOKEN=YOUR_PREVIEW_ACCESS_TOKEN\n```\n\n- Node.js version 16.5.0 or higher\n- Yarn\n\n```bash\nyarn\nyarn dev\n```\n\n**Optionally** you can pre-fill your Contentful empty space with Content:\n\nInstall contentful cli and import `./contentful-export.json` content.\n\nIn the project root folder run the following in your terminal:\n\n```bash\nnpm i -g contentful-cli\n# Then\ncontentful space import --space-id YOUR_SPACE_ID --content-file ./contentful-export.json\n```\n\nRemember to update `hydrogen.config.js` with your shop's domain and Storefront API token!\n\n---\n\n## Previewing a production build\n\nTo run a local preview of your Hydrogen app in an environment similar to Oxygen, build your Hydrogen app and then run `yarn preview`:\n\n```bash\nyarn build\nyarn preview\n```\n\n## Building for production\n\n```bash\nyarn build\n```\n\n## Running tests\n\nThis project contains basic end-to-end (E2E) tests in the `/tests/e2e` folder powered by [Vitest](https://vitest.dev).\n\nYou can run tests in development, and they will automatically reload when you make changes to the component you provide to `hydrogen.watchForUpdates()`:\n\n```bash\nyarn test\n```\n\nTo run tests in a continuous-integration (CI) environment like GitHub Actions:\n\n```bash\nyarn test:ci\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontentful%2Fstarter-hydrogen-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontentful%2Fstarter-hydrogen-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontentful%2Fstarter-hydrogen-store/lists"}