Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ARQUITECTURA-MULTI-TENANT.md | ||
| README.md | ||
| VISION-TEMPLATE-SAAS.md | ||
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 |
|---|---|
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:
- 12 modulos core - Auth, Tenants, Users, Billing, Plans, AI, Notifications, Audit, Feature Flags, Webhooks, Storage, CRUD Base
- 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
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
- Clonar el template
- Configurar variables de entorno
- Ejecutar migraciones de database
- Iniciar backend y frontend
- 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-07