Skip to main content
Documentation

Documentation

Comprehensive guides and API reference for integrating BrandsAI.

Getting Started/Introduction5 min

What is BrandsAI?

BrandsAI is an AI-powered fashion platform that helps users manage their wardrobe, plan outfits, and discover new styles.

High-Level Architecture

typescript
┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│   Application   │────▶│   API Gateway   │────▶│  Microservices  │
│   (React/Native)│     │   (Vercel Edge) │     │   (Node.js)     │
└─────────────────┘     └─────────────────┘     └─────────────────┘
                                                        │
                        ┌─────────────────┐            │
                        │   PostgreSQL    │◀───────────┘
                        │   (Supabase)    │
                        └─────────────────┘

API URLs

EnvironmentURL
Production`https://api.brandsai.ca/v1`
Staging`https://api-staging.brandsai.ca/v1`
Local`http://localhost:3000/v1`

Response Format

All JSON responses follow this format:

json
{
  "success": true,
  "data": { ... },
  "meta": {
    "timestamp": "2025-02-15T10:30:00Z",
    "requestId": "req_8f7d6c5b4a32"
  }
}