尚未检测到更新。GitHub 发布版本后会显示在这里。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗A free, open-source, production-ready ecommerce starter template built with Next.js, Tailwind CSS, and shadcn/ui. Designed to work standalone or connect to any checkout/payment system.
Live Demo · Documentation · Report Issue
Built by Epic Design Labs
# Requires Node.js 20+
git clone https://github.com/Epic-Design-Labs/nextjs-ecommerce-starter.git
cd nextjs-ecommerce-starter
npm install
npm run dev
Open http://localhost:3000.
| Password | Role | |
|---|---|---|
[email protected] | password123 | Admin |
[email protected] | password123 | Customer |
src/
app/
(store)/ # Storefront (header/footer layout)
[slug]/ # Product detail, category, brand pages
shop/ # Product catalog with filters
cart/ # Shopping cart
checkout/ # Checkout + success
account/ # Dashboard, orders, addresses, settings
auth/ # Login, register, forgot password
brands/ # All brands page
(admin)/admin/ # Admin dashboard
components/
ui/ # shadcn/ui + custom components
layout/ # Header, Footer, AnnouncementBar, BackToTop
products/ # ProductCard, Grid, Gallery, StarRating, etc.
cart/ # CartDrawer, CartItem, CartSummary
search/ # SearchModal
auth/ # AuthCardLayout
data/
products.json # Product, category, brand data
lib/
config.ts # Store name, contact, social, shipping, currency
navigation.ts # Desktop + mobile menu config
checkout/ # Pluggable checkout provider
repositories/ # Data access layer (JSON-backed, swappable)
validators/ # Zod schemas
analytics.ts # Event tracking placeholder
structured-data.ts # JSON-LD helpers
store/ # Zustand stores (cart, wishlist, auth, orders)
types/ # TypeScript types + interfaces
i18n/ # next-intl config
hooks/ # Custom hooks (useAuthGuard)
messages/
en.json # English translations (200+ keys)
es.json # Spanish translations
docs/
CUSTOMIZATION.md # Full customization guide
Everything is configurable from a few key files:
| What | Where |
|---|---|
| Store name, contact, social links | src/lib/config.ts |
| Theme colors (rating, wishlist, status) | src/app/globals.css |
| Navigation (desktop + mobile) | src/lib/navigation.ts |
| Products, categories, brands | src/data/products.json |
| Translations | messages/en.json, messages/es.json |
See CUSTOMIZATION.md for the full guide.
The checkout uses a pluggable CheckoutProvider interface:
interface CheckoutProvider {
createSession(cart, customer?): Promise<CheckoutSession>
getSession(sessionId): Promise<CheckoutSession>
handleWebhook(payload, signature): Promise<WebhookResult>
}
Ships with a demo provider. To connect Stripe or any other payment system, implement the interface and swap the export in src/lib/checkout/index.ts.
| Route | Description |
|---|---|
/ | Home — hero, categories, featured products, developer CTA |
/shop | Product catalog with filters and sorting |
/[slug] | Product detail, category, or brand (auto-resolved) |
/cart | Shopping cart |
/checkout | Checkout form |
/search | Search (also available via Cmd+K modal) |
/wishlist | Saved products |
/brands | All brands |
/account | Account dashboard |
/auth/login | Sign in |
/about | About the starter + Epic Design Labs |
/contact | Contact form |
/faq | FAQ accordion |
/policies/* | Shipping, returns, privacy, terms |
This starter is free and open source. If you need help customizing it or building a complete ecommerce solution:
MIT — free for personal and commercial use.