shopnex-starter

Shopify-style storefront and admin built on Payload CMS and Next.js with Stripe payments

shopnex-starter preview

Overview

Summary generated from the README

ShopNex is an open source eCommerce starter that pairs Payload CMS with a Next.js storefront. It covers products with variants, collections, cart, checkout and orders, with Stripe for payments. The project is a TypeScript monorepo using Turbo and can be scaffolded with a create-shopnex-app command.

Features

  • Product management with variants, pricing and inventory tracking
  • Cart, checkout and order management
  • Stripe payment integration
  • Shipping and tax handling
  • Sales analytics dashboard with charts
  • CSV import and export for bulk data

Good for

  • Launching an online store as a self-hosted alternative to Shopify
  • Building a custom headless storefront on Next.js with a Payload-managed catalog

From the author

Starter for building Shopify-like storefronts using Payload CMS

Get started

git clone https://github.com/shopnex-ai/shopnex.git

README

shopnex



License Build Contributions Last Commit Discord Chat

ShopNex – The Open Source eCommerce Built on Payload CMS

ShopNex is a modern eCommerce platform powered by Payload CMS, designed to help you launch a fully functional online store with minimal setup. Build scalable commerce solutions with our streamlined development experience.

🚀 Quick Start

Get your ShopNex store running in under 2 minutes:

npx create-shopnex-app my-store
cd my-store
pnpm dev

That's it! Your store will be running at:

Alternative Package Managers

# Using pnpm (recommended)
pnpm dlx create-shopnex-app my-store

# Using yarn
yarn create shopnex-app my-store

# Using npx
npx create-shopnex-app my-store

✨ Core Features

🛒 Complete E-commerce

  • Product Management - Variants, pricing, inventory tracking
  • Order Processing - Cart, checkout, order management
  • Collections & Categories - Organize your product catalog
  • Gift Cards - Digital gift card system

💳 Payments & Shipping

  • Stripe Integration - Secure payment processing
  • Multiple Payment Methods - Cards, digital wallets
  • Shipping Management - Rates, locations, tracking
  • Tax Calculation - Automated tax handling

📊 Business Intelligence

  • Analytics Dashboard - Sales tracking with charts
  • Store Settings - Currency, policies, branding
  • Import/Export - Bulk data management via CSV
  • Rate Limiting - API protection and security

🎨 Customization

  • Rich Text Editor - Tiptap-powered content editing
  • Media Management - Optimized image handling
  • Theme System - Customizable store appearance
  • Plugin Architecture - Extensible functionality

🚀 Developer Experience

  • TypeScript - Full type safety
  • Next.js 15 - Latest React features
  • SQLite/Database - Flexible data storage
  • Testing Suite - E2E and integration tests

📁 Project Structure

my-store/
├── src/
│   ├── app/
│   │   ├── (payload)/        # Payload CMS admin & API
│   │   └── (storefront)/     # Next.js storefront
│   ├── collections/          # Data models
│   │   ├── Products/
│   │   ├── Orders/
│   │   ├── Collections/
│   │   └── Users/
│   ├── fields/              # Reusable field types
│   └── utils/               # Helper functions
├── payload.config.ts        # Payload CMS configuration
└── package.json

🗺️ Roadmap

✅ Done · 🔄 In Progress · 📋 Planned · 🔍 Investigating

🛒 Core🔌 Plugins🎨 Storefronts📚 Docs
✅ Product Management✅ Stripe Payment✅ Custom Storefront📋 Self-Hosting
✅ Inventory Management✅ CJ Dropshipping✅ Builder.io📋 Plugin Development
✅ Checkout Flow📋 Shippo Fulfillment✅ Puck Editor📋 Storefront Integration
✅ Cart Management📋 PayPal Payment📋 Plasmic📋 Authentication
📋 Order History / Tracking📋 Mollie Payment🔍 Mobile (React Native)📋 Multi-Tenancy Guide
📋 Omni-Channel📋 Shopify Source🔍 POS Integration
📋 Shipping Management📋 Brightpearl🔍 Marketplaces

🛠️ Contributing

💡 Pro tip: Don't forget to ⭐ star the repo and fork it to make it your own!

We welcome contributions! If you find any bugs or have ideas for improvements, feel free to:

  • 🐛 Open an issue to report bugs or request features.
  • 🔧 Fork the repo and submit a pull request with your improvements.
  • 💬 Join our Discord community for discussions and support.

Before contributing, please:

  • Check existing issues and PRs to avoid duplication.
  • Follow any project-specific contribution guidelines (if available).

📄 License

Shopnex is licensed under the MIT License.

Claim this template

More E-commerce templates

payload-ecommerce screenshot

payload-ecommerce

Next.js and Payload storefront with Stripe checkout, store pickup, order emails and an admin sales dashboard

151
v3
Next.js
Updated 3 days ago
meridian screenshot

meridian

Medusa storefront with Payload CMS and Next.js running on Cloudflare Workers with D1 and R2

34
v3
Next.js
Updated 1 months ago
Ecommerce screenshot

Ecommerce

Official

Full ecommerce store with Payload backend, Next.js storefront, Stripe payments, variants, carts and guest checkout

v4
Next.js
Updated Today