Kuza — AI ecommerce store builder for African entrepreneurs. Idea to live M-Pesa-ready store in minutes.
# Kuza — AI Ecommerce Store Builder (SaaS)
Kuza takes a non-technical business owner from *"I have an idea"* to a **live, SEO-ready online store with M-Pesa checkout** — with zero code. Built from the spec in kuza-mega-prompt.md.
**🚀 Live app:**
kuza-two.vercel.app · **🌍 Marketing site:**
kenikiara.github.io
## Quick start
```bash
npm install # also runs prisma generate
npx prisma db push # creates the local SQLite database
npm run dev #
localhost
```
Sign in with **Continue with email** (dev mode), click **+ New store**, answer the interview — your store is generated, previewable and publishable in under a minute. Everything works out of the box with **no API keys**: AI copy falls back to the curated design engine, and M-Pesa checkout runs in simulation mode (payments auto-confirm after ~4s so the full flow is testable).
## What's implemented
| Area | Details |
|---|---|
| **Auth** | Google OAuth (env-gated) + email sign-in for dev. Signed HMAC cookie sessions, 30-day expiry. |
| **Multi-site accounts** | One login owns many stores (agency/white-label ready per the spec). |
| **Interview wizard** | 7 plain-language questions, category picker, M-Pesa + domain questions. |
| **Image-to-website** | Upload a design image → palette extracted client-side (canvas quantization) → confirmed with the user in plain language → drives every design token. With `ANTHROPIC_API_KEY`, Claude vision can deepen this. |
| **Text-to-website** | 6 curated, opinionated design presets (never generic), matched by business category; category-specific hero copy, about, features, testimonial; 6-product starter catalog with branded SVG imagery in KES. |
| **Plain-language editing** | "Make the buttons gold", "change the headline to…", "dark mode", "rounder corners", announcement bar, fonts — rule engine offline, Claude fallback for anything else. Every change confirmed back in one friendly sentence + live preview refresh. |
| **Storef …