- Updated README.md with complete module count (22 vs 12) - Updated VISION-TEMPLATE-SAAS.md with full module listing - Updated _INDEX.md to include modules SAAS-015 to SAAS-022 - Added categories: Core, Communication, Integration, Extended Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
84 lines
2.2 KiB
Markdown
84 lines
2.2 KiB
Markdown
---
|
|
id: "VIS-001"
|
|
title: "Vision General Template SaaS"
|
|
type: "Overview"
|
|
status: "Published"
|
|
priority: "P0"
|
|
version: "1.0.0"
|
|
created_date: "2026-01-07"
|
|
updated_date: "2026-01-24"
|
|
---
|
|
|
|
# Documentacion - Vision General
|
|
|
|
**Proyecto:** template-saas
|
|
**Seccion:** 00-vision-general
|
|
|
|
---
|
|
|
|
## Contenido
|
|
|
|
Esta carpeta contiene la documentacion de vision y arquitectura del template SaaS multi-tenant.
|
|
|
|
### Documentos
|
|
|
|
| Documento | Descripcion |
|
|
|-----------|-------------|
|
|
| `ESPECIFICACION-PLATAFORMA-SAAS.md` | **Especificacion completa** - Modulos, funcionalidades, arquitectura, portales, integraciones |
|
|
| `VISION-TEMPLATE-SAAS.md` | Vision general del proyecto, objetivos, modulos y roadmap |
|
|
| `ARQUITECTURA-MULTI-TENANT.md` | Arquitectura tecnica, RLS, seguridad y escalabilidad |
|
|
|
|
---
|
|
|
|
## Resumen Ejecutivo
|
|
|
|
**template-saas** es un template de referencia para construir aplicaciones SaaS multi-tenant con:
|
|
|
|
- **22 modulos totales** organizados en 4 categorias:
|
|
- **Core (12):** Auth, Tenants, Users, Billing, Plans, AI, Notifications, Audit, Feature Flags, Webhooks, Storage, CRUD Base
|
|
- **Comunicacion (2):** Email, WhatsApp Business
|
|
- **Integraciones (1):** OAuth 2.0 (Google, Microsoft, GitHub, Apple)
|
|
- **Extended (7):** Analytics, Reports, Sales, Portfolio, Commissions, MLM, Goals
|
|
- **4 portales** - Landing, App, Admin, Super-Admin
|
|
- **Multi-tenancy via RLS** - Aislamiento completo de datos
|
|
- **Integracion Stripe** - Pagos y suscripciones
|
|
- **Soporte LLM** - Claude, OpenAI, Gemini via OpenRouter
|
|
|
|
---
|
|
|
|
## Stack Tecnologico
|
|
|
|
| Capa | Tecnologia |
|
|
|------|------------|
|
|
| Backend | Express.js / NestJS + TypeScript |
|
|
| Frontend | React + Vite + TypeScript |
|
|
| Database | PostgreSQL 16+ con RLS |
|
|
| Cache | Redis |
|
|
| Auth | JWT + OAuth 2.0 |
|
|
| Payments | Stripe |
|
|
| AI | OpenRouter (multi-provider) |
|
|
|
|
---
|
|
|
|
## Inicio Rapido
|
|
|
|
1. Clonar el template
|
|
2. Configurar variables de entorno
|
|
3. Ejecutar migraciones de database
|
|
4. Iniciar backend y frontend
|
|
5. Acceder a landing portal
|
|
|
|
Ver detalles en `../../README.md`
|
|
|
|
---
|
|
|
|
## Referencias
|
|
|
|
- Contexto del proyecto: `../../orchestration/00-guidelines/CONTEXTO-PROYECTO.md`
|
|
- Inventario master: `../../orchestration/inventarios/MASTER_INVENTORY.yml`
|
|
- Trazas de tareas: `../../orchestration/trazas/`
|
|
|
|
---
|
|
|
|
**Actualizado:** 2026-01-24
|