Stack Plan
- Runtime: Node.js 20 LTS
- API: Express 4 — routes → controllers → services → models
- ORM: Sequelize 6 + mysql2 (MySQL 8) / sqlite3 (tests)
- Auth: JWT access + refresh, bcrypt cost 10, tenant_id en claims
- Frontend: HTML/CSS/JS estático, Drawflow CDN, theme Corporate Light
- Docs: Swagger /api-docs, OpenAPI JSON, DBML
- Deploy: Docker Compose backend-only + MySQL 8