[TASK-2026-02-06-ESTANDARIZACION-ESTRUCTURA-PROYECTOS] refactor: Migrate to canonical apps/ structure (ADR-0011)
Some checks failed
Build / Build Backend (push) Has been cancelled
Build / Build Mobile (TypeScript Check) (push) Has been cancelled
Lint / Lint Backend (push) Has been cancelled
Lint / Lint Mobile (push) Has been cancelled
Test / Backend E2E Tests (push) Has been cancelled
Test / Mobile Unit Tests (push) Has been cancelled
Build / Build Docker Image (push) Has been cancelled
Some checks failed
Build / Build Backend (push) Has been cancelled
Build / Build Mobile (TypeScript Check) (push) Has been cancelled
Lint / Lint Backend (push) Has been cancelled
Lint / Lint Mobile (push) Has been cancelled
Test / Backend E2E Tests (push) Has been cancelled
Test / Mobile Unit Tests (push) Has been cancelled
Build / Build Docker Image (push) Has been cancelled
- backend/ → apps/backend/, database/ → apps/database/, mobile/ → apps/frontend-mobile/ - Updated .gitmodules, docker-compose.yml, CLAUDE.md v1.0.0 - Added apps/_MAP.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d2425700e1
commit
65b32a0017
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -1,11 +1,11 @@
|
||||
[submodule "backend"]
|
||||
path = backend
|
||||
path = apps/backend
|
||||
url = git@gitea-server:rckrdmrd/miinventario-backend-v2.git
|
||||
|
||||
[submodule "database"]
|
||||
path = database
|
||||
path = apps/database
|
||||
url = git@gitea-server:rckrdmrd/miinventario-database-v2.git
|
||||
|
||||
[submodule "mobile"]
|
||||
path = mobile
|
||||
path = apps/frontend-mobile
|
||||
url = git@gitea-server:rckrdmrd/miinventario-mobile-v2.git
|
||||
|
||||
39
CLAUDE.md
39
CLAUDE.md
@ -4,8 +4,9 @@
|
||||
**Sistema:** SIMCO v4.0.0 + NEXUS v4.0
|
||||
**Proyecto:** miinventario
|
||||
**Tipo:** CONSUMER
|
||||
**Versión:** 0.1.0
|
||||
**Actualizado:** 2026-02-02
|
||||
**Versión:** 1.0.0
|
||||
**Actualizado:** 2026-02-06
|
||||
**ADR Vinculante:** ADR-0011 (Estructura Canonica apps/)
|
||||
|
||||
---
|
||||
|
||||
@ -16,26 +17,50 @@ Para reglas base, ver: `../../CLAUDE.md`
|
||||
|
||||
---
|
||||
|
||||
## DESCRIPCIÓN DEL PROYECTO
|
||||
## DESCRIPCION DEL PROYECTO
|
||||
|
||||
Sistema de gestión de inventarios.
|
||||
Sistema de gestion de inventarios con app movil.
|
||||
|
||||
---
|
||||
|
||||
## STACK TECNOLÓGICO
|
||||
## STACK TECNOLOGICO
|
||||
|
||||
- Backend: [A definir]
|
||||
- Frontend: [A definir]
|
||||
- Mobile: React Native
|
||||
- Database: PostgreSQL
|
||||
|
||||
---
|
||||
|
||||
## ESTRUCTURA CANONICA (ADR-0011)
|
||||
|
||||
```
|
||||
miinventario/
|
||||
├── apps/ # Contenedor canonico de aplicaciones
|
||||
│ ├── backend/ # API (submodule → miinventario-backend-v2)
|
||||
│ ├── frontend-mobile/ # React Native (submodule → miinventario-mobile-v2)
|
||||
│ ├── database/ # DDL PostgreSQL (submodule → miinventario-database-v2)
|
||||
│ └── _MAP.md # Indice de aplicaciones
|
||||
├── orchestration/ # Sistema SIMCO local
|
||||
├── docs/ # Documentacion
|
||||
├── .claude/ # Instrucciones Claude Code
|
||||
└── .gitmodules # 3 submodules en apps/
|
||||
```
|
||||
|
||||
**IMPORTANTE:** Todo desarrollo nuevo DEBE ir dentro de `apps/`. No crear archivos en raiz.
|
||||
|
||||
---
|
||||
|
||||
## ALIAS LOCALES
|
||||
|
||||
| Alias | Ruta |
|
||||
|-------|------|
|
||||
| @LOCAL-ORCHESTRATION | orchestration/ |
|
||||
| @BACKEND | apps/backend/ |
|
||||
| @MOBILE | apps/frontend-mobile/ |
|
||||
| @DDL | apps/database/ |
|
||||
| @APPS-MAP | apps/_MAP.md |
|
||||
|
||||
---
|
||||
|
||||
**Sistema:** SIMCO v4.0.0 | **Tipo:** Instrucciones de Proyecto
|
||||
*Mi Inventario v1.0.0 - Sistema SIMCO v4.0.0*
|
||||
*Estructura migrada a apps/ canonico: 2026-02-06*
|
||||
|
||||
28
apps/_MAP.md
Normal file
28
apps/_MAP.md
Normal file
@ -0,0 +1,28 @@
|
||||
# _MAP: Aplicaciones de miinventario
|
||||
|
||||
**Carpeta:** apps/
|
||||
**Proposito:** Contenedor canonico de todas las aplicaciones del proyecto (ADR-0011)
|
||||
**Estado:** Activo
|
||||
**Ultima actualizacion:** 2026-02-06
|
||||
|
||||
---
|
||||
|
||||
## Aplicaciones
|
||||
|
||||
| App | Ruta | Tipo | Stack | Estado | Git |
|
||||
|-----|------|------|-------|--------|-----|
|
||||
| **Backend API** | `apps/backend/` | API REST | [A definir] | Planificado | Submodule (miinventario-backend-v2) |
|
||||
| **Frontend Mobile** | `apps/frontend-mobile/` | Mobile App | React Native | Planificado | Submodule (miinventario-mobile-v2) |
|
||||
| **Database** | `apps/database/` | DDL | PostgreSQL 15+ | Activo | Submodule (miinventario-database-v2) |
|
||||
|
||||
---
|
||||
|
||||
## Notas
|
||||
|
||||
- Migrado a estructura apps/ canonica (ADR-0011) 2026-02-06
|
||||
- No tiene frontend-web (solo mobile)
|
||||
- 3 submodulos git separados (POLYREPO)
|
||||
|
||||
---
|
||||
|
||||
*Generado por TASK-2026-02-06-ESTANDARIZACION-ESTRUCTURA-PROYECTOS (Sprint 4)*
|
||||
@ -14,7 +14,7 @@ services:
|
||||
- "5433:5432"
|
||||
volumes:
|
||||
- miinventario_postgres_data:/var/lib/postgresql/data
|
||||
- ./database/schemas:/docker-entrypoint-initdb.d:ro
|
||||
- ./apps/database/schemas:/docker-entrypoint-initdb.d:ro
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 10s
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
| SIMCO-BACKEND.md | Operaciones NestJS |
|
||||
| SIMCO-FRONTEND.md | Operaciones React/RN |
|
||||
| SIMCO-INVENTARIOS.md | Gestionar inventarios |
|
||||
| SIMCO-ESTRUCTURA-DOCS.md | Estructura de documentacion |
|
||||
| SIMCO-FRONTMATTER-SCHEMA.md | Estructura de documentacion (frontmatter) |
|
||||
| SIMCO-INTEGRACIONES-EXTERNAS.md | Integraciones externas |
|
||||
|
||||
---
|
||||
|
||||
Loading…
Reference in New Issue
Block a user