{"id":13406107,"url":"https://github.com/vercel/commerce","last_synced_at":"2025-05-14T07:06:53.485Z","repository":{"id":37258210,"uuid":"307520777","full_name":"vercel/commerce","owner":"vercel","description":"Next.js Commerce","archived":false,"fork":false,"pushed_at":"2025-03-19T18:21:12.000Z","size":10974,"stargazers_count":12229,"open_issues_count":37,"forks_count":4613,"subscribers_count":197,"default_branch":"main","last_synced_at":"2025-05-07T06:37:13.576Z","etag":null,"topics":["ecommerce","nextjs","react","shopify"],"latest_commit_sha":null,"homepage":"https://demo.vercel.store","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/vercel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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,"zenodo":null}},"created_at":"2020-10-26T22:30:00.000Z","updated_at":"2025-05-07T04:34:56.000Z","dependencies_parsed_at":"2022-07-14T10:21:38.538Z","dependency_job_id":"1547fd1a-9f98-4866-8949-69ef5a8f39b3","html_url":"https://github.com/vercel/commerce","commit_stats":{"total_commits":1216,"total_committers":132,"mean_commits":9.212121212121213,"dds":0.7023026315789473,"last_synced_commit":"694c5c17bacd96c8b202a705423e5f4d9a8c93ba"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fcommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fcommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fcommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel%2Fcommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vercel","download_url":"https://codeload.github.com/vercel/commerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092648,"owners_count":22013290,"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","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":["ecommerce","nextjs","react","shopify"],"created_at":"2024-07-30T19:02:21.205Z","updated_at":"2025-05-14T07:06:53.431Z","avatar_url":"https://github.com/vercel.png","language":"TypeScript","readme":"[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fcommerce\u0026project-name=commerce\u0026repo-name=commerce\u0026demo-title=Next.js%20Commerce\u0026demo-url=https%3A%2F%2Fdemo.vercel.store\u0026demo-image=https%3A%2F%2Fbigcommerce-demo-asset-ksvtgfvnd.vercel.app%2Fbigcommerce.png\u0026env=COMPANY_NAME,SHOPIFY_REVALIDATION_SECRET,SHOPIFY_STORE_DOMAIN,SHOPIFY_STOREFRONT_ACCESS_TOKEN,SITE_NAME)\n\n# Next.js Commerce\n\nA high-performance, server-rendered Next.js App Router ecommerce application.\n\nThis template uses React Server Components, Server Actions, `Suspense`, `useOptimistic`, and more.\n\n\u003ch3 id=\"v1-note\"\u003e\u003c/h3\u003e\n\n\u003e Note: Looking for Next.js Commerce v1? View the [code](https://github.com/vercel/commerce/tree/v1), [demo](https://commerce-v1.vercel.store), and [release notes](https://github.com/vercel/commerce/releases/tag/v1).\n\n## Providers\n\nVercel will only be actively maintaining a Shopify version [as outlined in our vision and strategy for Next.js Commerce](https://github.com/vercel/commerce/pull/966).\n\nVercel is happy to partner and work with any commerce provider to help them get a similar template up and running and listed below. Alternative providers should be able to fork this repository and swap out the `lib/shopify` file with their own implementation while leaving the rest of the template mostly unchanged.\n\n- Shopify (this repository)\n- [BigCommerce](https://github.com/bigcommerce/nextjs-commerce) ([Demo](https://next-commerce-v2.vercel.app/))\n- [Ecwid by Lightspeed](https://github.com/Ecwid/ecwid-nextjs-commerce/) ([Demo](https://ecwid-nextjs-commerce.vercel.app/))\n- [Geins](https://github.com/geins-io/vercel-nextjs-commerce) ([Demo](https://geins-nextjs-commerce-starter.vercel.app/))\n- [Medusa](https://github.com/medusajs/vercel-commerce) ([Demo](https://medusa-nextjs-commerce.vercel.app/))\n- [Prodigy Commerce](https://github.com/prodigycommerce/nextjs-commerce) ([Demo](https://prodigy-nextjs-commerce.vercel.app/))\n- [Saleor](https://github.com/saleor/nextjs-commerce) ([Demo](https://saleor-commerce.vercel.app/))\n- [Shopware](https://github.com/shopwareLabs/vercel-commerce) ([Demo](https://shopware-vercel-commerce-react.vercel.app/))\n- [Swell](https://github.com/swellstores/verswell-commerce) ([Demo](https://verswell-commerce.vercel.app/))\n- [Umbraco](https://github.com/umbraco/Umbraco.VercelCommerce.Demo) ([Demo](https://vercel-commerce-demo.umbraco.com/))\n- [Wix](https://github.com/wix/headless-templates/tree/main/nextjs/commerce) ([Demo](https://wix-nextjs-commerce.vercel.app/))\n- [Fourthwall](https://github.com/FourthwallHQ/vercel-commerce) ([Demo](https://vercel-storefront.fourthwall.app/))\n\n\u003e Note: Providers, if you are looking to use similar products for your demo, you can [download these assets](https://drive.google.com/file/d/1q_bKerjrwZgHwCw0ovfUMW6He9VtepO_/view?usp=sharing).\n\n## Integrations\n\nIntegrations enable upgraded or additional functionality for Next.js Commerce\n\n- [Orama](https://github.com/oramasearch/nextjs-commerce) ([Demo](https://vercel-commerce.oramasearch.com/))\n\n  - Upgrades search to include typeahead with dynamic re-rendering, vector-based similarity search, and JS-based configuration.\n  - Search runs entirely in the browser for smaller catalogs or on a CDN for larger.\n\n- [React Bricks](https://github.com/ReactBricks/nextjs-commerce-rb) ([Demo](https://nextjs-commerce.reactbricks.com/))\n  - Edit pages, product details, and footer content visually using [React Bricks](https://www.reactbricks.com) visual headless CMS.\n\n## Running locally\n\nYou will need to use the environment variables [defined in `.env.example`](.env.example) to run Next.js Commerce. It's recommended you use [Vercel Environment Variables](https://vercel.com/docs/concepts/projects/environment-variables) for this, but a `.env` file is all that is necessary.\n\n\u003e Note: You should not commit your `.env` file or it will expose secrets that will allow others to control your Shopify store.\n\n1. Install Vercel CLI: `npm i -g vercel`\n2. Link local instance with Vercel and GitHub accounts (creates `.vercel` directory): `vercel link`\n3. Download your environment variables: `vercel env pull`\n\n```bash\npnpm install\npnpm dev\n```\n\nYour app should now be running on [localhost:3000](http://localhost:3000/).\n\n\u003cdetails\u003e\n  \u003csummary\u003eExpand if you work at Vercel and want to run locally and / or contribute\u003c/summary\u003e\n\n1. Run `vc link`.\n1. Select the `Vercel Solutions` scope.\n1. Connect to the existing `commerce-shopify` project.\n1. Run `vc env pull` to get environment variables.\n1. Run `pnpm dev` to ensure everything is working correctly.\n\u003c/details\u003e\n\n## Vercel, Next.js Commerce, and Shopify Integration Guide\n\nYou can use this comprehensive [integration guide](https://vercel.com/docs/integrations/ecommerce/shopify) with step-by-step instructions on how to configure Shopify as a headless CMS using Next.js Commerce as your headless Shopify storefront on Vercel.\n","funding_links":[],"categories":["TypeScript","Free Boilerplates","Nextjs Starter","NextJS","react","E Commerce"],"sub_categories":["Marketplace"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Fcommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvercel%2Fcommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel%2Fcommerce/lists"}