# Banatie Studio

SaaS platform for the Banatie AI image generation service. Based on Vercel's Next.js SaaS starter template with Supabase authentication and Stripe billing.

## Features

- 🔐 **Authentication**: Supabase Auth with social login
- 💳 **Billing**: Stripe subscriptions and payment processing
- 🎨 **AI Generation**: Integration with Banatie API service
- 📊 **Dashboard**: User dashboard with usage analytics
- 🏢 **Multi-tenant**: Organization and team management

## Tech Stack

- **Framework**: Next.js 14 with App Router
- **Authentication**: Supabase Auth
- **Database**: Supabase (PostgreSQL)
- **Payments**: Stripe
- **Styling**: Tailwind CSS
- **TypeScript**: Full type safety

## Development

```bash
# Install dependencies
pnpm install

# Set up environment variables
cp .env.example .env.local

# Start development server
pnpm dev
```

## Environment Setup

1. **Supabase**: Create a new project at [supabase.com](https://supabase.com)
2. **Stripe**: Set up your account at [stripe.com](https://stripe.com)
3. **Environment Variables**: Copy `.env.example` to `.env.local` and fill in your keys

## TODO

- [ ] Set up Supabase authentication
- [ ] Configure Stripe billing
- [ ] Implement user dashboard
- [ ] Add subscription tiers
- [ ] Integrate with Banatie API
- [ ] Add usage tracking
- [ ] Implement team management
- [ ] Add billing portal
