Skip to content

Repository files navigation

Superfunky Storefront

A production-grade React storefront for headless WordPress and WooCommerce.

MIT licence Node.js 22+ pnpm 10 React 18 TypeScript Netlify CI

Live flagship · Documentation · Shortcode library · Report an issue

Managed deployment fleet

Every managed headless environment runs the same storefront release with a capability-aware backend profile. The native WordPress development backend is listed separately for setup visibility. These badges are live HTTP status checks, not manually maintained labels.

Environment Profile Status
superfunky.pro Flagship Pro commerce superfunky.pro
developer.superfunky.pro Developer example developer.superfunky.pro
free-blog.superfunky.pro Free CMS/blog free-blog.superfunky.pro
free-shop.superfunky.pro Free commerce free-shop.superfunky.pro
pro-shop.superfunky.pro Pro commerce pro-shop.superfunky.pro
dev.superfunky.pro Default WordPress backend dev.superfunky.pro

Packages

The workspace is split into deliberate public package boundaries:

SDK CMS Commerce UI Shared

Public npm-version badges will replace the workspace badges as each package is published.

Quick start

git clone https://github.com/coded-letter/superfunky-storefront.git
cd superfunky-storefront
corepack enable
pnpm install
pnpm dev

The development fallback uses the public dev.superfunky.pro WPGraphQL backend, so the storefront starts without requiring a local WordPress installation. To use your own backend:

cp apps/storefront/.env.example apps/storefront/.env
VITE_GRAPHQL_ENDPOINT=https://wordpress.example/graphql
VITE_SITE_URL=http://localhost:4173

Never commit private WordPress, commerce, payment, or deployment credentials.

What is included

  • Static route generation and complete CMS route discovery.
  • React 18, Vite, TypeScript and route-level code splitting.
  • Pages, posts, taxonomies, authors, navigation and SEO.
  • WooCommerce catalog, cart, checkout, account and order flows.
  • Community profiles, posts, media, comments and marketplace presentation.
  • Capability-aware free, blog, shop and Pro backend profiles.
  • Stable WordPress content styling, Layout Studio and shortcode rendering.
  • Sitemaps, feeds, structured data, AI discovery files and production headers.
  • Provider-neutral static output, with a Netlify deployment adapter and static failover.

Architecture

apps/storefront       Routes, feature composition and remaining domain presentation
packages/cms          Extracted CMS normalization primitives
packages/commerce     Extracted commerce normalization primitives
packages/sdk          Backend transport, environment, cache and React data hooks
packages/ui           Reusable presentation and current shared application primitives
packages/shared       Framework-independent schemas, validators and route contracts

Backend transport and incremental caching are private to the SDK. CMS and commerce package roots contain the first extracted domain primitives; the storefront app still owns feature composition while those public boundaries expand without duplicating implementations.

Commands

pnpm dev          # start the storefront
pnpm test         # run the complete test suite
pnpm build        # create the production storefront and static route inventory

WordPress compatibility

The default development backend is intended for exploration and local setup. Production projects should supply their own WPGraphQL endpoint and capability profile. WooCommerce, Polylang and SEO integrations are detected and gated instead of being unconditional.

The WordPress backend theme is distributed separately after its release and security validation. The storefront remains independently forkable under the MIT licence.

Licence

MIT. Commercial hosting, migrations, updates and support are available from Superfunky.

About

Superfunky — free, open-source (MIT) React/Vite/TypeScript headless storefront for WordPress + WooCommerce. Extracted from the private Coded Letter integration monorepo.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages