Vertical ERP for freight transport and logistics companies. Includes: - Project configuration (CLAUDE.md, SIMCO orchestration) - Backend submodule (NestJS 10.x) - Frontend submodule (React 18.x + Vite) - Database submodule (PostgreSQL 15 + PostGIS) - Requirements documentation (REQ-GIRO-TRANSPORTISTA.md) - 20 modules defined (MAI/MAE/MAA phases) Key features: - Transport orders (OT) management - Fleet and driver management - Real-time GPS tracking - POD (Proof of Delivery) - CFDI with Carta Porte 3.1 compliance - Fuel and maintenance control - Third-party carrier management Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
979 B
979 B
Reglas de Proyecto - ERP Transportistas (Trae)
Contexto del Proyecto
Este es un ERP vertical para empresas de transporte de carga. Hereda de erp-core y agrega modulos especificos del giro.
Reglas Criticas
- Terminologia: Usar terminos del giro (OT, Viaje, Operador, POD, Carrier)
- Multi-tenancy: Toda entidad debe tener tenantId
- Carta Porte: Validar datos antes de liberar viajes
- Tracking: Todo evento con timestamp y geolocalizacion
Estructura de Modulos
backend/src/modules/{modulo}/
├── entities/
├── services/
├── controllers/
└── dto/
Nomenclatura
- MAI-XXX: Modulo Aplicacion Inicial
- MAE-XXX: Modulo Aplicacion Extendido
- MAA-XXX: Modulo Aplicacion Avanzado
Antes de Implementar
- Leer REQ-GIRO-TRANSPORTISTA.md
- Verificar si existe en erp-core
- Validar coherencia DDL <-> Entity
Referencias
- CLAUDE.md en raiz del proyecto
- docs/03-requerimientos/REQ-GIRO-TRANSPORTISTA.md