# OLD TENNIS — ot.azulado.cloud

Tienda virtual de ropa de tenis (MVP).

## Stack

- **Frontend:** Next.js 15 + TypeScript + Tailwind + Framer/Embla
- **Backend:** Medusa.js 2
- **DB:** PostgreSQL 16 (Docker)
- **Cache:** Redis 7 (Docker)
- **Proxy/SSL:** Apache + Let's Encrypt

## Estructura

```text
ot.azulado.cloud/
├── frontend/          # Storefront Next.js
├── backend/           # Medusa (apps/backend)
├── docker-compose.yml # Postgres + Redis
└── .env.example
```

## URLs

- Tienda: https://ot.azulado.cloud
- Admin Medusa: https://ot.azulado.cloud/app
- API store: https://ot.azulado.cloud/store

## Servicios

```bash
# Infra
cd /var/www/html/ot.azulado.cloud && docker compose up -d

# Apps (systemd)
systemctl status ot-frontend ot-backend
systemctl restart ot-frontend ot-backend
```

## Admin

Email: `admin@ot.azulado.cloud`

Si necesitas recrear usuario:

```bash
cd /var/www/html/ot.azulado.cloud/backend/apps/backend
npx medusa user -e admin@ot.azulado.cloud -p 'TU_PASSWORD'
```

## Estado actual (MVP)

Listo:
- Home con slider rotativo
- Catálogo, ficha de producto, carrito, checkout demo
- Colecciones / lookbook / cuenta (placeholder)
- Medusa + Postgres + Redis corriendo
- HTTPS + cabeceras de seguridad

Pendiente (fase 2):
- Conectar storefront a API Medusa (productos reales)
- Wompi (pagos)
- Cloudinary / Sanity
- Emails (Resend)
