baci

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

Baci - Agent-Native Commerce Infrastructure

"Your business, live in 3 minutes"

Baci helps African merchants create complete ecommerce storefronts in under 3 minutes and makes those storefronts ready for AI agents to discover, trust, purchase from, and monitor. It combines AI-assisted store creation with agent-readable trust contracts, safe checkout actions, and merchant-facing operational recovery.

📚 Documentation

Core Resources

Developer Guides

Operations

AI System

Reports & Audits

🚀 Getting Started

Prerequisites

  • Node.js 22+
  • pnpm 10+ (npm install -g pnpm)
  • Supabase CLI (for local backend)

Installation

# Install dependencies (uses pnpm workspaces)
pnpm install

# Setup environment variables
cp apps/web/.env.example apps/web/.env.local
# (Fill in your Supabase and Google AI keys)

Development

# Run the development server via Turborepo
pnpm turbo dev

# Or run just the web app
pnpm turbo dev --filter=@baci/web

Common Commands

pnpm turbo build      # Build all apps
pnpm turbo lint       # Lint all apps
pnpm turbo typecheck  # Type check
pnpm turbo test       # Run tests
pnpm format           # Format code with Biome

📁 Monorepo Structure

Baci-app/
├── apps/
│   └── web/              # Main Next.js web platform (@baci/web)
├── packages/             # Shared packages (future)
├── docs/                 # Documentation
├── pnpm-workspace.yaml   # pnpm workspace config
├── turbo.json            # Turborepo pipeline config
└── package.json          # Root package.json

🛠️ Tech Stack

  • Frontend: Next.js 16 (App Router), Tailwind CSS, shadcn/ui
  • Backend: Supabase (Auth, Postgres, Storage)
  • AI: Google Gemini 2.0/2.5 Flash + Imagen 3
  • Language: TypeScript (strict mode)
  • Package Manager: pnpm (workspaces)
  • Build System: Turborepo