How to Build an International Ecommerce Website with Sanity and Commerce Layer

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • commercelayer-sanity-template

    A multi-country ecommerce template built with Commerce Layer, Next.js, Sanity studio, and deployed to Netlify.

    In this section, you will learn how we built a starter with an ecommerce application with transactional functionalities powered by Commerce Layer APIs, structured content on Sanity, imported seed data, and deployment configuration to Netlify. If you want to follow along with the guide, you can take a look at the finished project on GitHub here or even install the starter here.

  • Git installed (Learn how to install Git here if you haven't already).

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • commercelayer-react-components

    The Official Commerce Layer React Components Library

    An ecommerce storefront built with Nextjs and Commerce Layer react components library.

  • renovate

    Universal dependency automation tool.

    You can also set up Renovatebot to automatically make and merge pull requests that bump the Sanity dependencies upgrades in studio/package.json. All you need to do is add a renovate.json to the root directory, with the following configuration:

  • cl-jamstack-ecommerce-workshop

    Build headless commerce web experiences with Jamstack and Commerce Layer.

    You can get started with the Commerce Layer starter by visiting this link, creating a new project and following the instructions in the link. Feel free to join the Commerce Layer Slack community to share what you are able to build after reading this tutorial or showcase the starter on Sanity. For further knowledge, you can learn the central concepts needed to create a 1-click Sanity Starter, learn how to build headless commerce web experiences with Commerce Layer, or learn how to sell internationally with a single Shopify store and Commerce Layer.

  • Next.js

    The React Framework

    { "version": 2.0, "title": "Commerce Layer Starter", "description": "A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.", "previewMedia": { "type": "image", "src": ".sanity-template/assets/preview.jpg", "alt": "Preview image with Commerce Layer, Nextjs, and Netlify's logo" }, "technologies": [ { "id": "nextjs", "name": "Next.js", "url": "https://nextjs.org" }, { "id": "commercelayer", "name": "Commerce Layer", "url": "https://commercelayer.io" }, { "id": "netlify", "name": "Netlify", "url": "https://netlify.com" } ], "deployment": { "provider": "netlify", "sites": [ { "id": "studio", "type": "studio", "title": "Commerce Layer Starter Studio", "description": "A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.", "dir": "./studio", "previewMedia": { "type": "image", "src": ".sanity-template/assets/studio.png", "alt": "A preview image of the Sanity studio." }, "buildSettings": { "base": "studio", "dir": "/dist", "cmd": "npm run build" } }, { "id": "web", "type": "web", "title": "Commerce Layer Starter Web", "description": "A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.", "dir": "./web", "previewMedia": { "type": "image", "src": ".sanity-template/assets/preview.jpg", "alt": "A preview image of the web demo." }, "buildSettings": { "base": "/", "dir": "/out", "cmd": "npm run build" } } ] } }

  • mfe-checkout

    Commerce Layer Hosted Checkout

    { "version": 2.0, "title": "Commerce Layer Starter", "description": "A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.", "previewMedia": { "type": "image", "src": ".sanity-template/assets/preview.jpg", "alt": "Preview image with Commerce Layer, Nextjs, and Netlify's logo" }, "technologies": [ { "id": "nextjs", "name": "Next.js", "url": "https://nextjs.org" }, { "id": "commercelayer", "name": "Commerce Layer", "url": "https://commercelayer.io" }, { "id": "netlify", "name": "Netlify", "url": "https://netlify.com" } ], "deployment": { "provider": "netlify", "sites": [ { "id": "studio", "type": "studio", "title": "Commerce Layer Starter Studio", "description": "A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.", "dir": "./studio", "previewMedia": { "type": "image", "src": ".sanity-template/assets/studio.png", "alt": "A preview image of the Sanity studio." }, "buildSettings": { "base": "studio", "dir": "/dist", "cmd": "npm run build" } }, { "id": "web", "type": "web", "title": "Commerce Layer Starter Web", "description": "A multi-country ecommerce starter built with Sanity Studio, Commerce Layer, Next.js, and deployed to Netlify.", "dir": "./web", "previewMedia": { "type": "image", "src": ".sanity-template/assets/preview.jpg", "alt": "A preview image of the web demo." }, "buildSettings": { "base": "/", "dir": "/out", "cmd": "npm run build" } } ] } }

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts