2df3fe6983e824b68f41e1323c71b614de8ea746
Require session on APIs, scope KPIs/activos/simulate to the user tenant, strip real JWTs from .env.example, and add health/smoke/docs for 4Ventures ops. Co-authored-by: Cursor <cursoragent@cursor.com>
4Ventures — Centro de Mando del Cliente
Portal ejecutivo multi-tenant · source of truth para app.4ventures.es.
Operador: marketing@4ventures.es
Next.js 15 + Supabase + n8n (agentes/webhooks fuera de este repo).
Quick start
cp .env.example .env.local # keys rotadas — nunca las del PDF histórico
npm install
npm run dev
Health: GET /api/health
Docs
Rutas
| Path | Uso |
|---|---|
/login |
Supabase Auth |
/dashboard/kpis |
KPIs |
/dashboard/estrategia |
Targets + simulador |
/dashboard/activos |
Docs aprobados (RLS) |
/dashboard/creatives |
Creatividades (en curso) |
/dashboard/asistente |
Chat RPC |
/dashboard/agencia |
Cross-tenant (admin/team) |
/dashboard/calendario |
Editorial RRSS |
/_4v_attr.js |
Script atribución |
Description
Languages
TypeScript
90.3%
Python
7.1%
HTML
2.3%
JavaScript
0.2%