
Step-by-step guide to launching a production-ready, lightning-fast online store in under two hours with NextMart (Next.js 14, Tailwind CSS, Firebase, Stripe & Cloudinary). Clone, configure, deploy—sell today.
• Node.js ≥ 18
• Git & GitHub account
• Stripe & Firebase accounts (free tier is fine)
• Cloudinary account (free tier)
# 1. Clone NextMart starter
git clone https://github.com/your-repo/nextmart.git
cd nextmart
# 2. Install deps
npm i
# 3. Copy env template
cp .env.example .env.local
# 1. Clone NextMart starter
git clone https://github.com/your-repo/nextmart.git
cd nextmart
# 2. Install deps
npm i
# 3. Copy env template
cp .env.example .env.local
NEXT_PUBLIC_FIREBASE_API_KEY=xxx
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=xxx
NEXT_PUBLIC_FIREBASE_PROJECT_ID=xxx
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=xxx
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=xxx
NEXT_PUBLIC_FIREBASE_APP_ID=xxx
products, orders, users collectionsimages bucket → set rules to allow read, write: if request.auth != null;Firebase CLI is optional; NextMart ships with pre-built security rules you can deploy via npm run firebase:rules.
nextmart folder.env.local:NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your_name
NEXT_PUBLIC_CLOUDINARY_API_KEY=xxx
CLOUDINARY_API_SECRET=xxx
next/image..env.local:NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_xxx
STRIPE_SECRET_KEY=sk_test_xxx
Stripe CLI for webhooks (dev):
stripe login
stripe listen --forward-to localhost:3000/api/webhooks/stripe
/api/checkout_sessions and /api/webhooks/stripe routes—zero code needed.npm run dev # localhost:3000
npm run stripe:listen # in another tab
Visit http://localhost:3000 → you’ll see a demo store pulling products from Firestore and images from Cloudinary.
.env.local✅ Static pages pre-rendered via Next.js ISR
✅ Images served via Cloudinary f_auto,q_auto, 6-device src-set
✅ Firebase & Stripe SDKs tree-shaken (only 42 KB gzipped)
✅ Lighthouse score: 100 / 100 / 100 / 100 (tested on Vercel)
products collection → New Document{
"title": "Vintage Denim Jacket",
"slug": "vintage-denim-jacket",
"price": 79.99,
"images": ["vintage_jacket_x1.jpg"],
"description": "Classic 90s style denim jacket.",
"stock": 12,
"category": "jackets"
}
Image file → upload to Cloudinary nextmart folder → auto-available via URL.
• Enable Firebase Analytics → free insights on drop-offs
• Add Cloud Functions for inventory sync & email receipts
• Use Stripe Customer Portal for self-serve subscriptions
• Scale Firestore with composite indexes when traffic grows
Grab NextMart on CodeCanyon, follow this guide, and you’ll have a lightning-fast, fully-featured store live before your coffee gets cold.
No comments yet

Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga qui,