Shopify App Growth Agent Micro‑SaaS
Markdown file
README.md
Shopify App Growth Agent Micro‑SaaS
Autonomous early‑user acquisition + compliant review prompting pipeline for Shopify apps.
Documentation (start here)
STATUS.md— quick entrypoint to current statusHANDOFF.md— quick entrypoint to latest handoffdocs/STATUS.md— where we are + next stepsdocs/HANDOFF.md— latest handoff + how to create tomorrow’sdocs/RUNBOOK.md— how to run/debug locallydocs/ARCHITECTURE.md— system overviewCHANGELOG.md— user-facing change history
Stack
- Next.js (App Router)
- Tailwind CSS + shadcn/ui
- Prisma + Postgres
- NextAuth
- BullMQ + Redis
Local dev
- Install deps
pnpm i
(npm i also works.)
- Create env
cp .env.example .env
- Start Postgres + Redis (docker recommended) If you have Docker running:
docker compose up -d
- Run migrations
pnpm prisma migrate dev
pnpm prisma db seed
- Start web
pnpm dev
- Start worker
pnpm worker
Daily handoff workflow
At the end of a session:
pnpm handoff:new
Then fill in docs/handoffs/YYYY-MM-DD.md and update docs/HANDOFF.md to point to it.
Core flows
/api/webhooks/shopify-events: your Shopify app posts telemetry here/api/agent/run: kicks a campaign tick (can be called by cron)
Guardrails
- No incentivized review language
- DM caps and follow‑up limits
- Policy lint blocks sends
Deploy
Works on Render/Vercel (web) + a worker dyno + managed Postgres + Redis.
Documentation
docs/— canonical docs root.docs/index.md— VitePress home page.docs-site/— VitePress wrapper for local dev (npm --prefix docs-site run dev).