MeowAcc is an enterprise-ready, open-source merchant operating system designed to run entirely on your own cloud. Storefront, admin panel, checkout pipelines, inventory ledger, support CRM, and digital fulfillment are packed into a single, inspectable Next.js monolith.
You own the database, the code, the keys, and the cash flow paths β backed by strict, automated mathematical proof gates that maintain architectural integrity as your business scales.
Note
The default reference deployment uses WoodBine demo branding (our sample Salt Lake City food hall). The core engine is completely vertical-neutral. Easily swap out logos, brand details, and theme configurations via admin settings and src/domain/seo/brand.ts.
In SaaS ecommerce, you trade independence for speed. MeowAcc inverts the equation, giving you maximum performance without compromising control:
| SaaS Default | MeowAcc |
|---|---|
| Platform-Hosted Data | π Your own sovereign Google Cloud Firestore project |
| Opaque Checkout | π οΈ Protocol-bound, fully auditable, and recoverable checkout states |
| Theme & App Limits | π» Unlimited flexibility with a raw TypeScript & React code deck |
| Subscription Fees | π΅ Zero platform cut. Pay raw serverless infrastructure costs directly |
Tip
Commerce software should be sovereign, inspectable, and provable. Read the deep-dive philosophy guide in docs/philosophy.md, browse the executive summary in docs/brief.md, or review the full technical thesis in docs/whitepaper.md.
MeowAcc protects itself from logic degradation through two frozen architectural patterns:
All financial and inventory state mutations are isolated within four frozen application service boundaries. Direct route handlers or external adapters are physically blocked from raw repositories:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β API / Routes β
ββββββββββββββββ¬βββββββββββββββββββββββββββββββ¬ββββββββββββββββ
β β
βΌ βΌ
βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ
β services.checkout β β services.inventory β
β (Money Capture) β β (Stock Movement) β
βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ
β β
βΌ βΌ
βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ
β services.refunds β β services.admin β
β (Money Reversals) β β (Human Authority) β
βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ
β β
ββββββββββββββββ¬ββββββββββββββββ
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Infrastructure / Database β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Important
No raw route, automation, or LLM agent is permitted to touch mutation layers without passing through this service container.
The storefront lifecycle is treated as a linear assembly line. Each transition is locked behind strict view-state and protocol validation tests:
- The cart never reserves stock.
- The checkout never skips revalidation.
- The browser UI only tokenizes; the server controls the capture.
To prove the entire chain is green:
npm run test:storefront-release # Runs the storefront release proof suite
npm run test:e2e:cart-smoke # Proves isolated guest/auth cart journeys
npm run test:e2e:checkout-smoke # Proves checkout session flowsRead more: docs/storefront-release.md & docs/commerce-protocol-frozen.md
| Module | Capabilities |
|---|---|
| πͺ Storefront | Collections, Product Detail Pages (PDP), search, responsive cart drawer, checkout, client account center, order history, wishlist, support board, content blog, and a secure customer digital asset locker (Vault) |
| πΌ Admin Workspace | Real-time sales telemetry, order fulfillments, product metadata catalog, visual bulk editor, inventory controls, purchase orders, supplier management, discount engines, local SEO hub, support ticket queue |
| βοΈ Transaction Core | Fully idempotent checkout steps, multi-currency processing, automatic stock reserve-hold lifecycle, refund calculations, transaction reconciliation, and a centralized audit trail |
| π§ Intelligent Support | Multi-channel ticketing, canned replies (macros), agent collision tracking, and an integrated AI support agent (Concierge) constrained by standard safety protocols |
| π Integrations | Stripe payment processing, Firebase Auth + Cloud Firestore, Brevo transactional mailing, optional Vertex AI / Gemini models |
MeowAcc is written as a clean-architecture TypeScript monolith on the Next.js App Router:
[ UI Surface (React + CSS) ]
β
βΌ
[ App Router (HTTP Pages + APIs) ]
β
βΌ
[ Core (Application Protocols & Orchestration) ]
β
ββββββββββββββββββββββββββββββββββββββββ
βΌ βΌ
[ Domain (Pure Business Rules) ] [ Infrastructure (Firestore / Stripe / Guards) ]
- Domain (
src/domain/): Pure business logic, entity models, and interface definitions. Standard zero-dependency layer. - Core (
src/core/): Transaction workflows, orchestrations, and use-cases. - Infrastructure (
src/infrastructure/): Third-party integrations, database adapters, and authentication bindings. - UI (
src/ui/): User interface components, views, layouts, and pages.
Detailed Guide: docs/architecture.md | Flow Diagrams: docs/flows.md
- Node.js 22 or higher
- Firebase Project (Auth, Firestore, and Local Emulators)
- Stripe Account (Developer keys)
- Configure your environment variables by copying
.env.exampleto.env.
# 1. Install dependencies
npm install
# 2. Run the onboarding and setup wizard
npm run setup
# 3. Start the Next.js dev server & Firebase emulators
npm run devValidate that your branch is healthy before pushing to production:
npm run lint # Lint code using ESLint
npm run typecheck # Run TypeScript compilations
npm run test # Run core service unit tests
npm run test:storefront-release # Execute frozen release gates
npm run test:e2e # Execute full Playwright E2E suite
npm run benchmark:order-flow # Run concurrency throughput benchmarksFor step-by-step setup guides, read docs/onboarding.md or docs/getting-started.md.
- brief.md β 2-minute overview of the project.
- philosophy.md β The rationale behind the sovereign engine design.
- whitepaper.md β Exhaustive system paper.
- platform-overview.md β Shopify mapping and feature statuses.
- onboarding.md β Day-0 installation checklist.
- local-development.md β Local testing and seed guides.
- environment-variables.md β Environment keys index.
- quick-reference.md β Cheat sheet for commands and script targets.
- runbook.md β Operator troubleshooting and incident runbooks.
- architecture.md β Deep dive into the four layers.
- storefront-release.md β Static checks and release proof system.
- checkout.md β Atomic order processing and reconciliation states.
- inventory.md β Double-entry inventory allocation guidelines.
- refunds.md β Refund rules.
- glossary.md β Common terminology definitions.
- Framework: Next.js 15 (App Router)
- Runtime: Node.js 22 (V8 Engine)
- Styling: Tailwind CSS 4
- Database / Auth: Google Cloud Firestore & Firebase Auth
- Payments: Stripe API (Stripe.js V3 client + Stripe Node V17)
- Tests: Vitest & Playwright E2E
- AI Core: Gemini Pro API / Vertex AI SDK
- API Interfaces: 150 route boundaries
- App Router Views: 71 pages
- Test Integrity: 103 test files (134 total specs passing)
- Service Registration: Centralized lazy container at
src/core/container.ts
We welcome contributions to MeowAcc! Before writing code, review CONTRIBUTING.md. For protocol-level state alterations, read the validation checklist at docs/contributing-commerce.md.
Sovereign commerce platform distributed under the MIT License. Copyright Β© 2026 William Cruz. See the LICENSE file for conditions.