From 2bd796b4c9d247c6f8b6f8ec29efc9eaaa13e035 Mon Sep 17 00:00:00 2001 From: Adrian Flores Cortes Date: Fri, 6 Feb 2026 10:46:58 -0600 Subject: [PATCH] [TASK-2026-02-06-ESTANDARIZACION-ESTRUCTURA-PROYECTOS] refactor(structure): Migrate to canonical apps/ structure - Moved backend/ to apps/backend/ (submodule) - Moved database/ to apps/database/ (submodule) - Moved frontend/ to apps/frontend-web/ (submodule) - Updated .gitmodules references - Created apps/_MAP.md - Updated CLAUDE.md v0.1.0 -> v2.0.0 Part of: TASK-2026-02-06-ESTANDARIZACION-ESTRUCTURA-PROYECTOS Sprint 5 Co-Authored-By: Claude Opus 4.6 --- .gitmodules | 6 +++--- CLAUDE.md | 4 ++-- apps/_MAP.md | 7 +++++++ backend => apps/backend | 0 database => apps/database | 0 frontend => apps/frontend-web | 0 6 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 apps/_MAP.md rename backend => apps/backend (100%) rename database => apps/database (100%) rename frontend => apps/frontend-web (100%) diff --git a/.gitmodules b/.gitmodules index c9a2891..3818844 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,11 +1,11 @@ [submodule "backend"] - path = backend + path = apps/backend url = git@gitea-server:rckrdmrd/clinica-veterinaria-backend-v2.git [submodule "database"] - path = database + path = apps/database url = git@gitea-server:rckrdmrd/clinica-veterinaria-database-v2.git [submodule "frontend"] - path = frontend + path = apps/frontend-web url = git@gitea-server:rckrdmrd/clinica-veterinaria-frontend-v2.git diff --git a/CLAUDE.md b/CLAUDE.md index 111f01e..4072b19 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,8 +4,8 @@ **Sistema:** SIMCO v4.0.0 + NEXUS v4.0 **Proyecto:** clinica-veterinaria **Tipo:** SUB-CONSUMER (hereda de erp-clinicas) -**Versión:** 0.1.0 -**Actualizado:** 2026-02-02 +**Versión:** 2.0.0 +**Actualizado:** 2026-02-06 --- diff --git a/apps/_MAP.md b/apps/_MAP.md new file mode 100644 index 0000000..2377bd0 --- /dev/null +++ b/apps/_MAP.md @@ -0,0 +1,7 @@ +# apps/ - Componentes de Aplicacion + +| Directorio | Tipo | Descripcion | +|------------|------|-------------| +| backend/ | Submodulo | API backend | +| database/ | Submodulo | DDL y esquemas | +| frontend-web/ | Submodulo | Aplicacion web frontend | diff --git a/backend b/apps/backend similarity index 100% rename from backend rename to apps/backend diff --git a/database b/apps/database similarity index 100% rename from database rename to apps/database diff --git a/frontend b/apps/frontend-web similarity index 100% rename from frontend rename to apps/frontend-web