模板商店前台包含分类筛选、精选区块、用户评价、FAQ 和价格对比
next-launch — Next.js 后台模板
作者 Gitnaseem745
NextLaunch 是一个基于 Next.js App Router 的模板市场项目,包含模板展示、Razorpay 支付、Clerk 登录、Firebase 存储与邮件通知等模块。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
买家仪表盘可查看购买记录并重新下载已购资源
Razorpay 结账流程包含 HMAC 签名验证和下载权限控制
Clerk 认证用于保护仪表盘和购买相关 API
Firebase Firestore 与 Storage 存储模板元数据、购买凭证和可下载资源
Nodemailer + Gmail SMTP 发送购买确认和联系表单回复邮件
模板详细介绍
NextLaunch 是一个 Next.js 模板市场项目,用于销售和交付落地页/UI 套件。项目包含模板商店前台(分类筛选、精选区块、用户评价、FAQ、价格对比和转化型 CTA)、买家登录后的仪表盘(查看购买记录和重新下载资源),以及一组服务端 API 路由,用于模板获取、购买验证、安全下载链接、邮件发送和支付通知。站点品牌、导航、首屏文案和主题设置集中在 config/siteConfig.ts 中配置。
技术栈方面,README 列出 Next.js App Router、React、TypeScript、Tailwind CSS、Zustand(含 persist 中间件)、Clerk、Razorpay、Firebase Firestore + Storage、Nodemailer + Gmail SMTP,以及 Lucide 图标、Radix 原语、Framer Motion 和 Lenis。项目结构按 app/(pages)、app/api、components、sections、store、db、config、lib、animations、types 等目录组织。
README 提供了本地运行、环境变量配置、生产构建、代码检查以及部署到 Vercel 的步骤,并说明支付流程可替换为其他网关。README 未说明项目的实际性能表现、生产环境验证情况或除 Razorpay 之外支付网关的具体实现细节。
适合你的项目吗?
适用场景
- 搭建销售落地页模板或 UI 套件的数字商品市场
- 为买家提供登录后查看购买记录和重新下载的仪表盘
- 以 Razorpay 作为默认支付方式完成模板购买与验证
- 通过 Firebase 存储模板元数据和可下载文件
- 使用 Nodemailer 发送购买确认和联系表单回复邮件
适合人群
- 需要 Next.js App Router 模板市场基础代码的开发者
- 计划使用 Clerk 认证和 Razorpay 支付的数字商品销售项目
- 希望以 Firebase 作为数据与文件存储后端的团队
- 需要集中配置站点文案、导航和主题的模板项目
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需要 Node.js 20+ 和 npm 10+(或 pnpm/yarn)
- 2
需准备 Firebase 项目、Clerk 应用、Razorpay 账户和 Gmail SMTP 应用密码
- 3
在项目根目录创建 .env.local 并填入 README 列出的 Firebase、Clerk、Razorpay 和 Gmail 环境变量
- 4
运行 npm run dev 启动开发服务器,访问 http://localhost:3000 并通过 Clerk 登录
- 5
部署到 Vercel 时需将全部环境变量复制到项目设置,并配置 Razorpay、Clerk 所需的重定向或 Webhook
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- README 提及 Firebase 集成;启用相关动态功能前需自行配置,并核对 Firebase 的额度与收费。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
- 运行项目需要自行准备 Firebase 项目、Clerk 应用、Razorpay 账户以及 Gmail SMTP 应用密码,这些均为外部服务账号。
- 必须在项目根目录创建 .env.local 并配置 README 列出的全部环境变量,否则无法正常启动相关功能。
- 建议使用测试用的 Razorpay 密钥和测试 Gmail 邮箱作为开发默认值,生产密钥应保存在 Vercel 项目设置中。
- Razorpay 是默认支付实现;若改用 Stripe、PayPal、Lemon Squeezy 等其他网关,需自行替换支付相关 API 路由和结账组件。
- 部署到 Vercel 后需自行配置 Razorpay、Clerk 所需的重定向或 Webhook 指向你的域名。
- 代码采用 MIT 许可,但所购买的模板资源本身可能附带额外许可条款,需遵守对买家的约定。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
- Firebase project, Clerk application, Razorpay account, Gmail SMTP app password
README 原文
Create a `.env.local` file in the project root using the variables below. Never commit production secrets—`.gitignore` already excludes `.env*`.
README 原文
> Tip: Provide dev-safe defaults (e.g., test Razorpay keys, test Gmail inbox) and keep production secrets in Vercel project settings.
README 原文
> **Payment gateway swap:** Razorpay is the default implementation, but the flow is modular. Replace the `/app/api/payments/*` routes plus `components/pages/razorpay-checkout.tsx` with calls to your preferred provider (Stripe, PayPal, Lemon Squeezy, etc.), keeping the purchase documents and download flow unchanged.
README 原文
4. Add required third-party webhooks/redirects (Razorpay, Clerk) pointing to your Vercel domain.
README 原文
https://github.com/Gitnaseem745/next-launch/blob/main/LICENSEhttps://github.com/Gitnaseem745/next-launch/blob/main/README.mdDistributed under the [MIT License](./LICENSE). You are free to use the code in commercial and personal projects, but purchased template assets themselves may include additional licensing terms—respect your buyers.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-14。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 85 / 100
- 技术栈
- Next.js · React
- 网站类型
- 后台 · 企业官网
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-12-12
- 截图检查日期
- 2026-10-14
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261015 · 2026-10-15
查看当时使用的来源资料
SHA-256: af40cf9724b6d125ebbd5ebaabcdd11964e71816313ace11b38350883a491ee1
2026-10-14T13:33:03.006Z
来源文件 / 仓库# NextLaunch > Launch high-converting websites instantly—no coding, no stress, just results.      NextLaunch is a production-ready Next.js template marketplace. It bundles premium landing-page/ui kits, a purchase flow with Razorpay, authenticated dashboards powered by Clerk, template delivery backed by Firebase, and delightful UI micro-interactions via Framer Motion. Use it as the foundation for marketplaces, theme stores, or any digital product catalog. ## Table of contents 1. [Overview](#overview) 2. [Highlights](#highlights) 3. [Architecture](#architecture) 4. [Tech stack](#tech-stack) 5. [Project structure](#project-structure) 6. [Getting started](#getting-started) 7. [Environment variables](#environment-variables) 8. [Core workflows](#core-workflows) 9. [Quality checks](#quality-checks) 10. [Deployment](#deployment) 11. [Contributing](#contributing) 12. [Security](#security) 13. [License](#license) 14. [Maintainer](#maintainer) ## Overview - **Templates storefront** with category filters, curated sections, testimonials, FAQs, pricing comparison, and conversion-focused CTAs. - **Authenticated dashboard** for buyers to review purchases and re-download assets. - **Serverless API routes** for template fetching, purchase verification, secure download URLs, emails, and payment notifications. - **Single-point customization** via `config/siteConfig.ts` so branding, navigation, hero copy, and theme settings stay centralized. ## Highlights - 🎨 **Multi-theme UI system** powered by `next-themes`, Tailwind presets, and reusable section components. - ⚡ **Smooth motion + scroll experiences** using Framer Motion, custom animation presets, and Lenis integration. - 💳 **Razorpay checkout** flow with HMAC verification, download access gating, and frontend Razorpay widget support. - 🔐 **Clerk authentication** keeps dashboards and purchase APIs secure with JWT verification helpers. - ☁️ **Firebase (Firestore + Storage)** hosts template metadata, purchase receipts, and downloadable assets. - 📬 **Transactional email automation** through Nodemailer + Gmail SMTP for purchase confirmations and contact replies. - 📦 **Persistent template store** using Zustand with caching, offline fallbacks, and filter helpers. ## Architecture ``` ┌────────────┐ ┌───────────────┐ ┌──────────────┐ │ Next.js │ │ API Routes │ │ Integrations │ │ App Dir │ -> │ (app/api/*) │ -> │ Razorpay │ │ (UI + UX) │ │ auth, CRUD │ │ Firebase │ └────────────┘ └───────────────┘ │ Clerk │ ↑ ↓ │ Nodemailer │ │ Zustand Store └──────────────┘ └────────── Client <-> Server ─────────────────────────┘ ``` Key principles: 1. **App Router + RSC** for streaming, metadata, and route groups (marketing pages live under `app/(pages)` while transactional routes live under `app/api`). 2. **Composable sections** in `sections/` feed page-level layouts, making it easy to plug templates into other projects. 3. **Data-first configuration** via `db/templates.ts` (seed data) and `config/siteConfig.ts` (content + theming) to keep UI code lean. ## Tech stack | Layer | Tools | | --- | --- | | Framework | Next.js 15 (App Router) + React 19 | | Language | TypeScript | | Styling | Tailwind CSS, tailwind-merge, custom animation presets | | State | Zustand with `persist` middleware | | Auth | Clerk (publishable + secret keys) | | Payments | Razorpay Checkout, HMAC verification | | Data | Firebase Firestore + Storage, server-side Admin SDK | | Email | Nodemailer + Gmail SMTP | | UI | Lucide icons, Radix primitives, Framer Motion, Lenis | ## Project structure ```bash next-launch/ ├── app/ │ ├── (pages)/... # Marketing pages, auth routes, dashboard routes │ ├── api/ # Purchase, template, payment, and email endpoints │ ├── globals.css │ └── layout.tsx ├── components/ # UI primitives, navbar/footer, Razorpay checkout, mockups ├── sections/ # Reusable page sections (hero, pricing, testimonials, etc.) ├── store/templateStore.ts # Zustand store for templates & purchases ├── db/templates.ts # Seed/template metadata and helper exports ├── config/siteConfig.ts # Centralized site copy, links, feature lists, etc. ├── lib/ # Auth helpers, Firebase Admin SDK, utilities ├── public/ # Logos, mock images, favicons, testimonial assets ├── animations/ # Shared animation variants and easing curves ├── types/ # Shared TypeScript interfaces ├── tailwind.config.ts / postcss.config.mjs └── package.json / tsconfig.json / eslint.config.mjs ``` ## Getting started ### 1. Prerequisites - Node.js 20+ - npm 10+ (or pnpm/yarn, adjust commands accordingly) - Firebase project, Clerk application, Razorpay account, Gmail SMTP app password ### 2. Install dependencies ```bash npm install ``` ### 3. Configure environment Create a `.env.local` file in the project root using the variables below. Never commit production secrets—`.gitignore` already excludes `.env*`. ### 4. Run the development server ```bash npm run dev ``` Visit `http://localhost:3000` and sign in via Clerk to access authenticated flows. ### 5. Production build & lint ```bash npm run build npm run start # serve the production build npm run lint # ESLint (Next.js rules) ``` ## Environment variables | Variable | Description | | --- | --- | | `NEXT_PUBLIC_DB_API_KEY` | Firebase web API key for client-side SDK | | `NEXT_PUBLIC_DB_AUTH_DOMAIN` | Firebase auth domain | | `NEXT_PUBLIC_DB_PROJECT_ID` | Firebase project ID (client) | | `NEXT_PUBLIC_DB_STORAGE_BUCKET` | Firebase storage bucket | | `NEXT_PUBLIC_DB_MESSAGING_SENDER_ID` | Sender ID for Firebase | | `NEXT_PUBLIC_DB_APP_ID` | Firebase app ID | | `NEXT_PUBLIC_DB_MEASUREMENT_ID` | Analytics measurement ID | | `NEXT_PUBLIC_FIREBASE_PROJECT_ID` | Used for helpful Firestore index hints | | `NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY` | Clerk frontend key for providers | | `NEXT_PUBLIC_RAZORPAY_KEY_ID` | Public Razorpay key for checkout widget | | `CLERK_SECRET_KEY` | Server-side Clerk key for token verification | | `FIREBASE_PROJECT_ID` | Service account project ID | | `FIREBASE_CLIENT_EMAIL` | Service account email | | `FIREBASE_PRIVATE_KEY` | Service account private key (`\n` escaped) | | `RAZORPAY_KEY_ID` | Server Razorpay key (order creation) | | `RAZORPAY_KEY_SECRET` | Razorpay HMAC secret | | `GMAIL_USER` | Gmail address used for SMTP notification emails | | `GMAIL_PASS` | Gmail app password for SMTP | > Tip: Provide dev-safe defaults (e.g., test Razorpay keys, test Gmail inbox) and keep production secrets in Vercel project settings. ## Core workflows ### Template catalog 1. `db/templates.ts` exposes seed data and metadata for SEO. 2. `sections/templates-showcase-section.tsx` + `components/sections/*` render cards, pricing, testimonials. 3. The Zustand store (`store/templateStore.ts`) handles caching, filtering, and local persistence. ### Purchase flow 1. Frontend calls `/api/payments/create-order` to create a Razorpay order with the secret key. 2. `components/pages/razorpay-checkout.tsx` opens the Razorpay widget with the publishable key. 3. On success, `/api/payments/verify` validates the signature and records the purchase in Firestore. 4. `/api/purchases/get|check-updates|download-url` hydrate dashboards and gated downloads. > **Payment gateway swap:** Razorpay is the default implementation, but the flow is modular. Replace the `/app/api/payments/*` routes plus `components/pages/razorpay-checkout.tsx` with calls to your preferred provider (Stripe, PayPal, Lemon Squeezy, etc.), keeping the purchase documents and download flow unchanged. ### Notifications & support - `/api/purchase-notify` sends transactional emails to the buyer with template/payment details. - `/api/send-mail` powers the contact form, including validation and basic rate limiting. ### Admin controls - Update `db/templates.ts` to add new templates or metadata. - Curate homepage/marketing content via `config/siteConfig.ts` without touching component code. ## Quality checks - `npm run lint` – ESLint/Next.js ruleset (recommended before commits). - `npm run build` – ensures App Router routes, API handlers, and type checks are healthy. - Consider adding CI (GitHub Actions) to run these commands automatically on PRs. ## Deployment 1. Push the repository to GitHub (public). 2. Create a new Vercel project → Import this repo. 3. Copy **all environment variables** from `.env.local` into Vercel → Settings → Environment Variables. 4. Add required third-party webhooks/redirects (Razorpay, Clerk) pointing to your Vercel domain. 5. Trigger a production deploy; Vercel will handle Next.js build + serverless routing. ## Contributing 1. Fork the repository & create a feature branch. 2. Run `npm run lint` locally before opening a PR. 3. Describe the motivation, screenshots (if UI), and testing steps. 4. For larger features, open an issue first so we can discuss requirements. ## Security Please avoid opening public issues for vulnerabilities. Instead, email **[email protected]** with a detailed report. You’ll receive an acknowledgement within 48 hours and coordinated disclosure will be arranged if needed. ## License Distributed under the [MIT License](./LICENSE). You are free to use the code in commercial and personal projects, but purchased template assets themselves may include additional licensing terms—respect your buyers. ## Maintainer Built and maintained by [Naseem Ansari](https://github.com/gitnaseem745). Feel free to reach out on [LinkedIn](https://www.linkedin.com/in/naseem-ansari-25474b269/) or [Twitter](https://x.com/dev_Naseem) for support, collaborations, or template ideas.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

SaaS-Boilerplate
🚀🎉📚 SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ⚡️ Full-stack React applic…
Next.js · SaaS

next-shadcn-dashboard-starter
Free, open source, AI-friendly admin dashboard template built with Next.js 16, shadcn/ui, Tailwind CSS, and Ty…
Next.js · 后台

Studio Admin · Radix UI
Modern Admin Dashboard Template built with Shadcn UI and Next.js 16
Next.js · 后台

free-nextjs-admin-dashboard
TailAdmin is a Next.js and Tailwind CSS free, open-source admin dashboard template. Provides developers with t…
Next.js · 后台

Next-JS-Landing-Page-Starter-Template
🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript ⚡️ Made with developer experienc…
Next.js · 企业官网

materio-mui-nextjs-admin-template-free
An enterprise-grade Next.js admin dashboard template. Made with developer experience first: Next.js v14 (App R…
Next.js · 后台
