This is a customized fork of the official Payload Ecommerce template, featuring a robust backend, an enterprise-grade admin panel, and a production-ready e-commerce website.
- Frontend: Next.js (App Router), React, TypeScript, TailwindCSS, shadcn/ui
- Backend: Payload CMS
- Database: PostgreSQL (
@payloadcms/db-postgres) - Styling: TailwindCSS
- Deployment: Vercel (with Vercel Blob Storage and Vercel Postgres adapter)
- Bug fixes
- Enhanced Architecture:
- React Server Components for data loading
- Data Abstraction Layer using Repository Pattern
- Improved performance
- User interface enhancements
- Authentication & Access Control
- Layout Builder with Lexical editor
- Draft & Live Preview
- On-demand Revalidation
- SEO (via Payload SEO Plugin)
- Search & Filters
- Products, Variants, Carts, Orders & Transactions
- Stripe Payments
- Automated E2E and Integration Tests
- Clone the repository:
git clone https://github.com/YagoLopez/payload-ecommerce-postgres-neon.git cd payload-ecommerce-postgres-neon - Environment Variables:
(Configure your
cp .env.example .env
.envfile with database connection string, Payload secret, Stripe keys, etc.) - Install Dependencies & Start Development Server:
Open
pnpm install pnpm dev
http://localhost:3000in your browser. Follow on-screen instructions to create an admin user.
- Run Integration Tests (Vitest):
pnpm test:int
- Run End-to-End Tests (Playwright):
pnpm test:e2e
- Run All Tests:
pnpm test
- Build the project:
pnpm build
- Start the production server:
pnpm start
