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.
- Frontend Framework: Next.js (SSG)
- UI Component Library: Custom components
- Style: Shadcn-ui
- Type System: TypeScript
- Edge Function: EdgeOne Functions
- Responsive design, adaptable to various devices
- Product list and detail pages
- Shopping cart functionality
- Blog system
- Contact form
- User authentication (login/register)
Setup your headless shop according to document
npm installFrontend development server:
npm run devEdgeOne function development server:
npm run edge:devnpm 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 resources
Create 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