Shopify Ecommerce Starter
A Shopify ecommerce website template built with Next.js, Shopify Storefront API, and EdgeOne Pages, offering complete features such as product display, shopping cart, user login, and more.
This is a Shopify ecommerce website template built with Next.js, Shopify Storefront API, and EdgeOne Pages, offering complete features such as product display, shopping cart, user login, and more.
Setup your headless shop according to document
npm install
Frontend development server:
npm run dev
EdgeOne function development server:
npm run edge:dev
npm run build
/src/app
- Next.js pages and components/src/components
- Reusable UI components/src/lib
- Utility functions and configurations/functions
- EdgeOne functions/public
- Static resourcesCreate a .env
file containing the following variables:
DEV=true
FRONT_END_URL_DEV=http://localhost:3000
NEXT_PUBLIC_API_URL_DEV=http://localhost:8088/
SHOPIFY_STORE_DOMAIN=yourshop.myshopify.com
SHOPIFY_API_VERSION=2025-04
SHOPIFY_STOREFRONT_ACCESS_TOKEN=your storefront api access token