商品列表支持分页,并可通过 URL 进行筛选,便于分享筛选后的页面
NextJS-Ecom — Next.js 电商模板
作者 miguel876
Migstore 是一个基于 NextJS 与 ShadCN 的电商网站模板,包含商品列表、Stripe 支付、Google 登录、联系表单和主题切换等功能,README 提供了本地安装与部署说明。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 3
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
使用 ShadCN 组件构建界面,并提供主题切换
集成 Stripe 用于支付处理和结账,README 包含测试卡号
通过 React Resend 库实现联系表单
支持使用 Google 进行基本用户登录
声明了响应式设计,并提供桌面与移动端预览截图
模板详细介绍
Migstore 是一个电商网站模板,使用 NextJS、Tailwind、ShadCN、Zustand、Neon DB 和 Resend 构建。README 列出的功能包括:带分页和基于 URL 筛选的商品列表(筛选条件可通过 URL 分享)、使用 ShadCN 组件的现代设计、通过 React Resend 库实现的联系表单、用于支付处理和结账的 Stripe 集成、使用 Google 的基本用户登录以及主题切换,并声明了响应式设计。
部署方面,项目部署在 Vercel 上,并使用 GitHub Actions 进行 CI/CD,README 提供了线上演示地址。本地运行需要 Node.js 14 或更高版本,以及 npm 或 yarn;安装步骤包括克隆仓库、安装依赖和配置环境变量,环境变量涉及 Stripe 公钥、Stripe 密钥、Resend 密钥和 Stripe Webhook 密钥。README 还给出了 Stripe 测试模式下的测试卡号。
README 未说明商品数据的具体来源或数据库结构,未说明用户登录后的权限或账户管理细节,也未说明生产环境部署的完整配置要求。
适合你的项目吗?
适用场景
- 作为电商网站的前端模板,用于搭建商品展示与结账流程
- 用于学习 NextJS 与 ShadCN 组件在电商场景中的组合方式
- 用于参考 Stripe 支付集成与 Resend 联系表单的实现
- 用于在 Vercel 上部署并配合 GitHub Actions 进行 CI/CD 的示例项目
适合人群
- 需要电商网站模板的开发者
- 希望了解 NextJS、ShadCN、Stripe 和 Resend 组合使用的学习者
- 需要可分享 URL 筛选商品列表功能的项目参考者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需要 Node.js 14 或更高版本,以及 npm 或 yarn
- 2
克隆仓库后运行 npm install 或 yarn install 安装依赖
- 3
在项目根目录创建 .env.local 文件,并设置 NEXT_PUBLIC_STRIPE_PUBLIC_KEY、STRIPE_SECRET_KEY、RESEND_KEY 和 STRIPE_WEBHOOK_SECRET
- 4
使用 npm run dev 或 yarn start 启动开发服务器
- 5
Stripe 测试模式可使用卡号 4242 4242 4242 4242,日期 12/34,CCV 123
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 联系表单依赖 React Resend 库,使用该功能需要配置 Resend 服务及相应密钥。
- 支付与结账功能依赖 Stripe 集成,使用该功能需要 Stripe 账户及相关密钥。
- 用户登录功能依赖 Google 登录,使用该功能需要配置 Google 登录凭据。
- 项目使用 Neon DB 作为数据库,运行相关功能需要配置 Neon 数据库服务。
- 项目部署在 Vercel 上并使用 GitHub Actions 进行 CI/CD,部署时依赖这些外部服务。
- 运行项目需要配置 Stripe 公钥环境变量。
- 运行项目需要配置 Stripe 密钥环境变量。
- 运行项目需要配置 Resend 密钥环境变量。
- 运行项目需要配置 Stripe Webhook 密钥环境变量。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
- Contact form using the React Resend library.
README 原文
- Stripe integration for payment processing and checkout.
README 原文
- Basic user sign in with Google and theme switch.
README 原文
- [Neon DB](https://neon.tech/)
README 原文
This project is deployed on [Vercel](https://vercel.com/). It also uses Github actions for CI/CD. You can view the live application at [https://next-js-ecom-neon.vercel.app/](https://next-js-ecom-neon.vercel.app/).
README 原文
NEXT_PUBLIC_STRIPE_PUBLIC_KEY=your_public_key
README 原文
STRIPE_SECRET_KEY=your_secret_key
README 原文
RESEND_KEY=your_resend_key
README 原文
https://github.com/miguel876/NextJS-Ecom/blob/master/LICENSEhttps://github.com/miguel876/NextJS-Ecom/blob/master/README.mdSTRIPE_WEBHOOK_SECRET=your_webhook_secret
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-14。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 77 / 100
- 技术栈
- Next.js · React
- 网站类型
- 电商
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-01-04
- 截图检查日期
- 2026-10-14
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15
查看当时使用的来源资料
SHA-256: a23d99ae6f19d99904bc73bccea5057d36e49dac271de975b8270c429144e0fe
2026-10-14T02:23:53.385Z
来源文件 / 仓库# Migstore Migstore is an ecommerce website template created with NextJS and ShadCN. ## Table of Contents - [Features](#features) - [Technologies](#technologies) - [Deployment](#deployment) - [Getting Started](#getting-started) - [Prerequisites](#prerequisites) - [Installation](#installation) - [Usage](#usage) - [Stripe](#stripe) - [License](#license) ## Features - Product listing with pagination and filters by URL so it can be easily shared. - Modern design using ShadCN components. - Contact form using the React Resend library. - Stripe integration for payment processing and checkout. - Basic user sign in with Google and theme switch. - Responsive design. ## Technologies - [NextJS](https://nextjs.org/) - [Tailwind](https://tailwindcss.com/) - [ShadCN](https://ui.shadcn.com/) - [Zustand](https://zustand-demo.pmnd.rs/) - [Neon DB](https://neon.tech/) - [Resend](https://react.email/docs/introduction) ## Deployment This project is deployed on [Vercel](https://vercel.com/). It also uses Github actions for CI/CD. You can view the live application at [https://next-js-ecom-neon.vercel.app/](https://next-js-ecom-neon.vercel.app/). ## Getting Started Follow these instructions to set up the project locally. ### Prerequisites - Node.js (version 14 or later) - npm or yarn ### Installation 1. Clone the repository: ```bash git clone https://github.com/yourusername/your-repo-name.git ``` 2. Navigate to the project directory: ```bash cd your-repo-name ``` 3. Install the dependencies: ```bash npm install # or yarn install ``` 4. Set up environment variables: Create a `.env.local` file in the root of your project and add the following variables: ```plaintext NEXT_PUBLIC_STRIPE_PUBLIC_KEY=your_public_key STRIPE_SECRET_KEY=your_secret_key RESEND_KEY=your_resend_key STRIPE_WEBHOOK_SECRET=your_webhook_secret ``` ## Usage To start the development server, run: ```bash npm run dev # or yarn start ``` ## Stripe In order to conclude a purchase using stripe, please use the following card data for test mode: - Card Number: 4242 4242 4242 4242 - Date: 12/34 - CCV 123 ## License [MIT](https://choosealicense.com/licenses/mit/)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

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 · 电商
