# ShopCall.ai

AI-powered calling system integrated with e-commerce platforms.

## Repository Structure

```
shopcall/
├── shopcall.ai-main/          # Frontend application (React + Vite + TypeScript)
├── supabase/                  # Supabase configuration and Edge Functions
├── docs/                      # Documentation files
└── package.json              # Root workspace configuration
```

## Quick Start

### Prerequisites

- Node.js 18+ and npm
- Supabase account
- Shopify/WooCommerce API credentials (for integrations)

### Installation

```bash
# Install Supabase CLI at root
npm install

# Install frontend dependencies
cd shopcall.ai-main
npm install
```

### Development

**Frontend:**
```bash
cd shopcall.ai-main
npm run dev  # Start dev server on port 8080
```

**Supabase Functions:**
```bash
cd supabase

# Deploy individually
npx supabase functions deploy <function-name>

# Test locally
npx supabase functions serve
```

### Environment Setup

Create `.env` files in frontend and supabase directories. See `CLAUDE.md` for detailed environment configuration.

## Technology Stack

### Frontend
- React 18 with Vite
- TypeScript
- Tailwind CSS + shadcn/ui
- React Router v6
- React Query
- React Hook Form + Zod
- i18next for internationalization

### Backend
- Supabase Edge Functions (Deno)
- Supabase (PostgreSQL + Auth)
- OAuth integrations (Shopify, WooCommerce, ShopRenter)

## Documentation

- [CLAUDE.md](./CLAUDE.md) - Comprehensive project documentation for development
- [DEPLOYMENT_GUIDE.md](./DEPLOYMENT_GUIDE.md) - Deployment instructions
- [VAPI_INTEGRATION.md](./VAPI_INTEGRATION.md) - Voice AI integration details

## Deployment

- **Frontend**: Deploy to any static hosting (Vercel, Netlify, etc.)
- **Backend**: Supabase Edge Functions (auto-deployed)

See [DEPLOYMENT_GUIDE.md](./DEPLOYMENT_GUIDE.md) for detailed instructions.

## License

Proprietary - All rights reserved

## Support

For issues or questions, contact the development team.
