Next.js 与 TypeScript 编写的电商前台模板
ecommerce-using-Next.js — Next.js 电商模板
作者 ramandarizal90-art
基于 Next.js 与 TypeScript 的电商前台模板,对接 Boundless Commerce 无头电商 CMS,包含商品目录、筛选、购物车与结账流程。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
对接 Boundless Commerce 无头电商 CMS 的 API
包含层级化商品目录、商品组件与筛选功能
提供轮播、滑块等营销展示组件
内置带动画的购物车组件与可定制的 React 结账流程
包含 schema 标记、sitemap 与 meta 标签等 SEO 相关配置
模板详细介绍
该模板是面向电商场景的 Next.js(TypeScript)前端项目,需要配合 Boundless Commerce 无头电商 CMS 使用。仓库提供完整的商品展示与购买链路:层级化商品目录、商品组件、筛选、轮播等营销模块,以及带动画的购物车组件和可定制的 React 结账流程。模板在 SEO 方面包含 schema 结构化标记、sitemap 和 meta 标签,并提供移动端适配。使用前需在 Boundless Commerce 注册账号并创建访问令牌,将令牌与实例 ID 写入环境变量,再安装依赖并启动本地开发服务。项目采用 MIT 许可,可免费使用、修改与分发,但演示图片、字体、图标等第三方素材需单独核对许可,域名、托管、数据库或支付等外部服务可能产生费用。
适合你的项目吗?
适用场景
- 为 Boundless Commerce 实例搭建品牌电商前台
- 作为 Next.js 电商项目的起步代码进行二次开发
- 演示无头电商 CMS 与前端分离的目录、购物车与结账流程
适合人群
- 已有或计划使用 Boundless Commerce 作为后端的开发者
- 熟悉 Next.js 与 TypeScript、需要电商前端起点的团队
- 需要商品目录、筛选、购物车与结账基础功能的项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
在 Boundless Commerce 注册免费账号,并在控制面板的 Access tokens 中创建访问令牌
- 2
复制 .env.example 为 .env,填入 BOUNDLESS_API_PERMANENT_TOKEN 与 BOUNDLESS_INSTANCE_ID
- 3
如需 sitemap.xml 与 OpenGraph 使用绝对 URL,需设置 BOUNDLESS_BASE_URL
- 4
可选设置 BOUNDLESS_PRODUCTS_IMAGE_PROPORTION 统一列表商品图比例,取值如 1-1、16-9 等
- 5
执行 yarn install 安装依赖,再运行 yarn dev 启动本地服务并访问 http://localhost:3000
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 使用模板前必须在 Boundless Commerce 官网注册账号(免费、无需信用卡),并创建访问令牌。
- 必须将 Boundless Commerce 的 API 永久令牌与实例 ID 写入 .env 环境变量,否则无法连接后端。
- 默认依赖 Boundless Commerce 托管服务;自托管后端仅为可选项,需另行部署。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Go to [Boundless-commerce.com](https://boundless-commerce.com/) and create a free account (no credit card required).
README 原文
put values for the `BOUNDLESS_API_PERMANENT_TOKEN` and `BOUNDLESS_INSTANCE_ID`, copy values from:
README 原文
https://github.com/ramandarizal90-art/ecommerce-using-Next.js/blob/master/LICENSEhttps://github.com/ramandarizal90-art/ecommerce-using-Next.js/blob/master/README.mdThere is an option for Running Boundless-Commerce on your own server.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-04。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 71 / 100
- 技术栈
- Next.js · React
- 网站类型
- 电商
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-02-14
- 截图检查日期
- 2026-10-04
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: [email protected] · 2026-10-04
查看当时使用的来源资料
SHA-256: 343dccf9fefdc61c5aaebe58cd6f1e0cb0cb5dc760bf436f3a528752c4032e1d
2026-10-04T03:10:05.118Z
来源文件 / 仓库# Next.js E-Commerce template Ready to use [Next.js](https://nextjs.org) (TypeScript) starter kit for high-performance e-commerce websites 🔥. Free 👍. Ready to use 😎. Just clone & deploy! 🤘 ## Online Demo ⚡️ [blank.demos.my-boundless.app](https://blank.demos.my-boundless.app/) - deployed to Netlify. ## About Boundless Commerce  [Boundless-commerce.com](https://boundless-commerce.com/) - API’s First Headless E-commerce CMS: We Provide An Admin-Side For Store Management, Powerful API, And Ready-To-Use Checkout Area. ## Self-Hosted solution There is an option for Running Boundless-Commerce on your own server. Read more at [Open-Source Headless eCommerce Platform](https://boundless-commerce.com/open-source) ## Getting Started 1. Go to [Boundless-commerce.com](https://boundless-commerce.com/) and create a free account (no credit card required). 2. Go to "Control panel" -> "Settings" -> "Access tokens" and create a new one:   3. Copy `.env.example` to `.env` 4. Modify `.env`: put values for the `BOUNDLESS_API_PERMANENT_TOKEN` and `BOUNDLESS_INSTANCE_ID`, copy values from:  5. Install dependencies: `yarn install` 6. `yarn dev` - to start locally, then open `http://localhost:3000` 7. If you want to have absolute URLs in the sitemap.xml and OpenGraph meta tags you need to also specify `BOUNDLESS_BASE_URL`. ### Optional parameters - `BOUNDLESS_BASE_URL` - Base URL if you want to have absolute URLs in the sitemap.xml and OpenGraph meta tags. - `BOUNDLESS_PRODUCTS_IMAGE_PROPORTION` - Specify resize proportion so product images in lists have the same size. Possible values are: `1-1`, `2-3`, `3-2`,`4-5`, `5-4`, `3-4`, `4-3`, `16-9`, `9-16`. ## What is included? Fully ready E-Commerce website with a hierarchical catalog, product widgets, filters, and marketing components like sliders and carousels. We developed the template keeping SEO in mind: schema markup, sitemap, and all necessary meta-tags. Shopping cart with a nice animated widget and [Fully customizable React checkout](https://github.com/kirill-zhirnov/boundless-checkout-react). User friendly mobile version. ## Video tutorial [](https://youtu.be/BOZRLereGig "How to build React E-commerce Website with Next.js, TypeScript, and Redux in 2023 (Tutorial)") ## Ways to deploy Node.js Apps [](https://www.youtube.com/watch?v=pRj0o-B57O4 " Ways to deploy NodeJs (and/or NextJS) apps - quick overview") --- [NextJS eCommerce templates](https://boundless-commerce.com/templates) - Free. Ready to use. Just clone & deploy!
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

Next.js Commerce
Next.js Commerce 是 Vercel 团队维护的电商启动模板,基于 Next.js App Router 构建,采用服务端渲染、React Server Components、Server Actions …
Next.js · 电商

commerceplate
Commerceplate 是一个基于 Next.js 16、Tailwind CSS 4 和 TypeScript 的 Shopify 电商启动模板,由 Zeon Studio 开发并免费开源。
Next.js · 电商

ecommerce-template
An ecommerce template built with NextJS 16, TypeScript and TailwindCSS
Next.js · 电商

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

boundless-nextjs-ecommerce-template
Next.js E-Commerce template. Strong TypeScript, Ready to use, For high-performance e-commerce websites.
Next.js · 电商

mobile-medusa
📱 Combine your Medusa.js e-commerce backend and/or web storefront with a Expo mobile app that matches Medusa …
Next.js · 电商
