Back to blog

ShipAny Next: a headless SaaS engine on Next.js

Jun 3, 2026ShipAny TeamShipAny Team

ShipAny Next is a headless SaaS engine on the Next.js App Router: pre-wired business logic with minimal UI. Instead of shipping yet another themed template, it gives you the machinery every SaaS needs and stays out of the way of your product pages.

Layered architecture

ShipAny Next splits the codebase along "what survives a rebrand vs. what gets thrown away":

  • src/components/ — durable primitives. Pricing tables, headers, sidebars, shadcn/ui. These survive a rebrand.
  • src/blocks/ — disposable page sections. They read your translations and wire content into the primitives. Rewrite them per project.
  • src/modules/ — pure business logic. Payments, credits, subscriptions, RBAC. Each module is a standalone service you can delete without breaking the others.

What's in the box

  1. Auth — better-auth with email/password and OAuth, sessions, account linking.
  2. Payments — Stripe, PayPal, Creem behind a unified PaymentManager.
  3. Credits — FIFO consumption, expiration, auto-grant on signup, revocation.
  4. RBAC — roles and wildcard permission matching with a full admin panel.
  5. Multi-database — Drizzle ORM across PostgreSQL, MySQL, SQLite, Turso, Cloudflare D1.
  6. i18n — English and Chinese built in, with next-intl locale-aware routing.

Quick start

pnpm install
cp .env.example .env.development
pnpm db:push
pnpm dev

Try it live: next.shipany.site. Spend your time on the product, not the plumbing.