Skip to content
Merged

MBI #135

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
857 commits
Select commit Hold shift + click to select a range
bfa3c9b
fix: mejorar la validación de datos en la creación de cuota y evitar …
Rodrig0at May 19, 2025
c493804
feat: enviar nombre en una cookie
May 19, 2025
8e1374a
Merge branch 'develop' into fix/DAGP_RF12_ListaClientes
May 19, 2025
3c263aa
Merge pull request #86 from CodeAnd-Co/fix/RA_D137_cuota-cero
Hiram10tec May 19, 2025
8c7623c
Merge branch 'develop' into fix/DAGP_RF12_ListaClientes
May 19, 2025
58f7ce8
fix: arreglar reposiotorio de crear rol
DiegoAlfaro1 May 19, 2025
4b9c79e
fix: arreglar eliminar cuota set repo
DiegoAlfaro1 May 19, 2025
5632856
Merge pull request #87 from CodeAnd-Co/fix/DAGP_RF12_ListaClientes
Hiram10tec May 19, 2025
39dce69
fix: arreglar actualizar cuota set repo
DiegoAlfaro1 May 19, 2025
d9bd3f9
fix: arreglar repositorio crear categoria
DiegoAlfaro1 May 19, 2025
34f9bed
fix: arreglar repositorio ccrear cuota
DiegoAlfaro1 May 19, 2025
6e36e22
fix: arreglar eliminar pedido
DiegoAlfaro1 May 19, 2025
fba53ba
fix: agregar repositorio eliminar sets producto
DiegoAlfaro1 May 19, 2025
fa3d16f
fix: arreglar eliminar evento repo
DiegoAlfaro1 May 19, 2025
a4c687f
fix: arreglar import empleados
DiegoAlfaro1 May 19, 2025
23d0d92
Actualizacion de plantilla de PR
ArturoSanRod May 19, 2025
e8f8d2f
fix: arreglar crear producto
DiegoAlfaro1 May 19, 2025
b5dad48
fix: producto imagen repo
DiegoAlfaro1 May 19, 2025
57eb067
Merge pull request #88 from CodeAnd-Co/fix/ASR_Plantilla_PR_Backend
Rodrig0at May 19, 2025
9eded58
fix: variante imagen
DiegoAlfaro1 May 19, 2025
c5b6d60
fix: arreglar mas de producto
DiegoAlfaro1 May 19, 2025
03853cc
fix: arreglar crear grupo
DiegoAlfaro1 May 19, 2025
7dea863
Fix: consulta leer cliente
angieriosc May 19, 2025
912e969
Merge pull request #89 from CodeAnd-Co/fix/ARC_D184_usuarios_asignados
Rodrig0at May 19, 2025
08aefde
fix: eliminarGrupo empleados repo
DiegoAlfaro1 May 19, 2025
5a38e18
fix: console log para ver los roles
DiegoAlfaro1 May 19, 2025
f317d44
fix: eliminar console log
DiegoAlfaro1 May 19, 2025
d313977
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
DiegoAlfaro1 May 19, 2025
a1de4a2
fix: eliminar y agregar al gitignore el folder .idea
DiegoAlfaro1 May 19, 2025
30fbf39
fix; Arreglar errores de lint
DiegoAlfaro1 May 19, 2025
8d2f1ec
Merge pull request #90 from CodeAnd-Co/fix/DA_no-ref_cambiar-conexion…
angieriosc May 19, 2025
819ed09
fix: validar Usuarios con rol a eliminar
NicoH00d May 20, 2025
7b45bbd
Merge pull request #91 from CodeAnd-Co/fix/NHF_NO_REF_D156
DiegoAlfaro1 May 20, 2025
aaffc4f
feat: agregar funcionalidad para consultar la informacion del producto
DiegoAlfaro1 May 20, 2025
b3ebc55
feat: agregar middleware
DiegoAlfaro1 May 20, 2025
2b9931b
Limite de peticiones Diarias
ArturoSanRod May 20, 2025
403973f
fix: quitar del login el middleware de limite de peticiones
DiegoAlfaro1 May 20, 2025
170c527
fix: usar el correo en lugar del id
DiegoAlfaro1 May 20, 2025
50ad189
Fix: Rutas bien documentadas con swagger
angieriosc May 20, 2025
ef06a29
fix: arreglar error de lint
DiegoAlfaro1 May 20, 2025
f953a7e
Fix: Rutas bien documentadas con swagger
angieriosc May 20, 2025
06bb463
Merge pull request #92 from CodeAnd-Co/feat/DA_no_ref_limitador-de-pe…
Hiram10tec May 20, 2025
a6679e8
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
angieriosc May 20, 2025
fa129aa
Fix: Ruta autenticacion/autenticar
angieriosc May 21, 2025
2b2154f
Merge pull request #94 from CodeAnd-Co/fix/ARC_no_ref_rutas_swagger
NicoH00d May 21, 2025
1bb763c
fix: arreglar rutas sin autorizacion de token
DiegoAlfaro1 May 21, 2025
b305794
Merge pull request #95 from CodeAnd-Co/fix/no_ref_checar-rutas-token
ArturoSanRod May 21, 2025
c0be478
Fix: Rutas empleados
angieriosc May 21, 2025
6d078a0
Fix: Rutas eliminar empleados
angieriosc May 22, 2025
9daf1ef
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
angieriosc May 22, 2025
177e0d4
Feat/HIML_noref_autenticacionEliminarSuperAdmin
Hiram10tec May 22, 2025
a650c3b
fix: arreglar creacion de categoria
DiegoAlfaro1 May 22, 2025
0b61ac4
fix: arreglar errores de lint
DiegoAlfaro1 May 22, 2025
ab08575
Merge pull request #96 from CodeAnd-Co/fix/DA_no_ref_manejar-error-ca…
Rodrig0at May 22, 2025
27b8ea3
Fix(usuarios): corregir controller
Hiram10tec May 22, 2025
8b4392e
Fix(lint): corregir lint
Hiram10tec May 22, 2025
934e449
Merge pull request #97 from CodeAnd-Co/feature/HIML_noref_autenticaci…
angieriosc May 22, 2025
4f85634
Fix: Rutas SWAGGER
angieriosc May 22, 2025
90e73a4
fix: Corregir comentarios de swagger
ZValer May 22, 2025
2223e16
Merge branch 'develop' into fix/ARC_no_ref_rutas_swagger
ZValer May 22, 2025
893f500
fix: Eliminar log
ZValer May 22, 2025
f2059ef
Merge branch 'fix/ARC_no_ref_rutas_swagger' of https://github.com/Cod…
ZValer May 22, 2025
81e140f
Merge pull request #99 from CodeAnd-Co/fix/ARC_no_ref_rutas_swagger
DiegoAlfaro1 May 22, 2025
96babb0
feat: crear endpoint
May 22, 2025
fa25684
feat: crear evento
May 23, 2025
8d3cf0c
fix: mandar mensajes correctos
May 23, 2025
289499b
fix: errores de linter
May 23, 2025
0550391
fix: arreglar como se maneja error de sql
DiegoAlfaro1 May 23, 2025
cf668ff
fix/HIML(usuarios): ya no se puede eliminar todos los usuarios
Hiram10tec May 23, 2025
f5dc496
fix(importarCSV): Aumentar limite de csv a 5mb
NicoH00d May 23, 2025
a397822
fix: errores de lint
DiegoAlfaro1 May 23, 2025
0e52ae2
feat: agregar pruebas automáticas con jest
May 23, 2025
cb76c28
Merge pull request #101 from CodeAnd-Co/fix/DA_no_ref_arreglar-alerta…
ArturoSanRod May 23, 2025
767103d
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
Hiram10tec May 23, 2025
6af4b20
Merge branch 'develop' into feat/DAGP_RF36_CrearEvento
May 23, 2025
8a88082
fix: cambiar mensaje de entradas duplicadas en el CSV
NicoH00d May 25, 2025
399b140
fix: mensaje de validacion
NicoH00d May 25, 2025
80c6e2a
fix: usar middleware para limitar peticiones
May 25, 2025
65ed305
Merge pull request #102 from CodeAnd-Co/feature/HIML_noref_autenticac…
DiegoAlfaro1 May 25, 2025
a6f23a6
feat: manejo de errores más sólido
May 25, 2025
335d3ce
Merge branch 'develop' into feat/DAGP_RF36_CrearEvento
May 25, 2025
0406edf
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
NicoH00d May 25, 2025
a64494b
Merge pull request #104 from CodeAnd-Co/fix/NHF_no_ref_D217
DiegoAlfaro1 May 26, 2025
650fbd2
Merge branch 'develop' into feat/DAGP_RF36_CrearEvento
May 26, 2025
97cc804
feat: cambiar la consulta para que me de el nombre de la empresa del …
DiegoAlfaro1 May 26, 2025
d561cfb
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
angieriosc May 26, 2025
8d9ba67
feat(roles): leer detalles del rol
Hiram10tec May 26, 2025
f473ef5
feature: recibir Productos desde el frontend
NicoH00d May 26, 2025
a55566e
Merge pull request #105 from CodeAnd-Co/feature/HIML_RF8_Leer-Rol
DiegoAlfaro1 May 26, 2025
6f66be4
Revert "feat(roles): leer detalles del rol"
DiegoAlfaro1 May 26, 2025
1f0878a
Merge pull request #106 from CodeAnd-Co/revert-105-feature/HIML_RF8_L…
DiegoAlfaro1 May 26, 2025
1299480
feat: agregar funcionalidad para leer rol
DiegoAlfaro1 May 26, 2025
15278c0
Merge pull request #107 from CodeAnd-Co/fix/HIML_RF8_LEER-ROL
DiegoAlfaro1 May 27, 2025
4c17513
fix(rol): cambio de nombre archivo de controller
Hiram10tec May 27, 2025
30645ac
Feature(categorias):Leer-categoria
Hiram10tec May 27, 2025
af57888
feature: backend crear empleado
May 27, 2025
1c89669
feat: agregar crear set de empleados
DiegoAlfaro1 May 27, 2025
f19e155
Merge pull request #108 from CodeAnd-Co/feature/HIML_RF48_leer-categoria
Rodrig0at May 27, 2025
3d3e997
feat: agregar validacion de productos
DiegoAlfaro1 May 27, 2025
977ec02
feat(RF59): agregar controlador, rutas y repositorio para exportar em…
May 27, 2025
9553835
docs: agregar documentacion jsdocs y swagger
DiegoAlfaro1 May 27, 2025
b440168
Merge pull request #109 from CodeAnd-Co/feature/DA_RF28_leer-productos
Hiram10tec May 28, 2025
86a3429
docs: js docs en controlador de crear producto
NicoH00d May 28, 2025
2db92e2
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
NicoH00d May 28, 2025
f3258c1
Merge branch 'feat/DAGP_RF36_CrearEvento' of https://github.com/CodeA…
NicoH00d May 28, 2025
e9be560
feature: cambiar consulta para que también devuelva los productos que…
NicoH00d May 28, 2025
0c2a630
feat(Categorías): actualizar categoría
Hiram10tec May 28, 2025
7a52c28
fix: eliminar comentarios
NicoH00d May 28, 2025
ea9aefd
Fix(productos): se eliminan imagenes con placeholder o imagenes
Hiram10tec May 28, 2025
d726a52
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
NicoH00d May 29, 2025
612b8d7
hotfix: arreglar consulta de inicio de sesion
DiegoAlfaro1 May 29, 2025
a7f01ed
feature: repositorio para crear un empleado
May 29, 2025
dcf5d34
feat: agregar la consulta
May 29, 2025
e2ac7c2
feat: agregar validaciones de nombre completo y fechas
NicoH00d May 29, 2025
5a8f7ce
feat: agregar validaciones adicionales a importar
NicoH00d May 29, 2025
ba2bf1e
Merge pull request #111 from CodeAnd-Co/fix/NHF_no_ref_d248
ArturoSanRod May 29, 2025
fc9a87f
feat: agregar funcionalidad para leer rol
DiegoAlfaro1 May 26, 2025
8918141
fix(rol): cambio de nombre archivo de controller
Hiram10tec May 27, 2025
de7321f
Feature(categorias):Leer-categoria
Hiram10tec May 27, 2025
f9a6c85
feat(Categorías): actualizar categoría
Hiram10tec May 28, 2025
0ca90f3
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
May 30, 2025
6e3f277
feat: agregar validaciones de importar empleados
NicoH00d May 30, 2025
97dd3eb
Fix: cambio de consulta e información enviada de grupo de empleados
angieriosc May 30, 2025
8e81554
Merge branch 'MBI-1' into feat/DAGP_RF36_CrearEvento
NicoH00d May 30, 2025
6678bf3
Merge pull request #113 from CodeAnd-Co/fix/NHF_no_ref_d248
ArturoSanRod May 30, 2025
5d6f2e9
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
NicoH00d May 30, 2025
50e7627
feat: Actualizar sets de productos
ZValer May 30, 2025
f711cda
fix: cambiar a exportar por seleccion y agregar correciones de formato
May 30, 2025
e0951b9
feat: agregar validaciones para importar producto
NicoH00d May 31, 2025
f471479
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
DiegoAlfaro1 Jun 1, 2025
872eb3a
fix: arreglar mensajes de error para tener consistencia
DiegoAlfaro1 Jun 1, 2025
fa3c969
Merge pull request #114 from CodeAnd-Co/fix/DA_no-ref_arreglar-defect…
ArturoSanRod Jun 1, 2025
dbe9552
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
Jun 1, 2025
4be124a
Fix: Correción rutas actualizar empleado y grupo de empleados
angieriosc Jun 1, 2025
b8d1350
Fix: productos actualizados quitar null
angieriosc Jun 2, 2025
798d49f
fix: canelar importación si hay errores
NicoH00d Jun 2, 2025
fc198d1
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
Rodrig0at Jun 2, 2025
0013ab9
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
ArturoSanRod Jun 2, 2025
ce5e7c1
Merge branch 'feat/DAGP_RF36_CrearEvento' of https://github.com/CodeA…
ArturoSanRod Jun 2, 2025
0ac8928
feat: agregar mas validaciones para importar
NicoH00d Jun 2, 2025
dc14464
Merge branch 'feat/DAGP_RF36_CrearEvento' of https://github.com/CodeA…
NicoH00d Jun 2, 2025
646d1b1
fix: cambios menores
NicoH00d Jun 2, 2025
d9a14e9
Merge pull request #103 from CodeAnd-Co/feat/DAGP_RF36_CrearEvento
DiegoAlfaro1 Jun 2, 2025
fb71e95
fix: arreglar logica de actualizacion
DiegoAlfaro1 Jun 2, 2025
ed41ad2
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
Rodrig0at Jun 2, 2025
51c06e8
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
Jun 2, 2025
bf0db1f
fix: agregar validaciones adicionales
NicoH00d Jun 2, 2025
91f4675
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
NicoH00d Jun 2, 2025
0368949
fix: actualizar comentarios
Jun 2, 2025
11f1837
fix: actualizar documentacionn
NicoH00d Jun 3, 2025
6fd220d
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ZValer Jun 3, 2025
fa42f8d
chore: Agregar rama para GitHub Actions
ZValer Jun 3, 2025
c0c2d0b
Merge pull request #115 from CodeAnd-Co/feat/DA_RF41_crear-set-productos
ZValer Jun 3, 2025
b84b218
merge: Merge con MBI-1
ZValer Jun 3, 2025
bc1a2ae
feat: actualicé para que tenga 2 querys el repositorio uno para el no…
Rodrig0at Jun 3, 2025
8bc0fb4
fix: actualizar comentario de swagger
Jun 3, 2025
021dba6
Merge pull request #116 from CodeAnd-Co/fix/PG_no_ref_correciones-PR21
angieriosc Jun 3, 2025
cc7684b
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
angieriosc Jun 3, 2025
49e4295
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
Rodrig0at Jun 3, 2025
02d16c3
Merge pull request #117 from CodeAnd-Co/feature/DA_RF24_actualizar-gr…
toscanodiaz Jun 3, 2025
31329b6
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
Rodrig0at Jun 3, 2025
bf56810
refactor: renombrar varibales en Camel case
Rodrig0at Jun 3, 2025
05845a8
Merge pull request #118 from CodeAnd-Co/feature/RA_US33_lee-set-cuotas
Hiram10tec Jun 3, 2025
cb889e7
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
Jun 4, 2025
868ba29
feat: agregar funcionalidad para editar un rol
DiegoAlfaro1 Jun 4, 2025
25b2bf6
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
DiegoAlfaro1 Jun 4, 2025
778405c
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
DiegoAlfaro1 Jun 4, 2025
3164645
feat: agregar generacion de SKU Automatico
NicoH00d Jun 5, 2025
782fd40
fix: eliminar comentarios de debugging
NicoH00d Jun 5, 2025
535aada
fix: quitar parametro innecesario
DiegoAlfaro1 Jun 5, 2025
b4ec2cd
fix:corregir mensaje de error
Jun 5, 2025
ef63ac7
chore: merge conflicts
Jun 5, 2025
abb3c8e
feature de actualizar categorias
Hiram10tec Jun 5, 2025
960f28d
fix:correcion de lint y estatus
Jun 5, 2025
9c99838
Merge pull request #119 from CodeAnd-Co/feature/PG_RF59_exportar-empl…
angieriosc Jun 5, 2025
5a2aeae
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
DiegoAlfaro1 Jun 5, 2025
e66edd3
fix: arreglar errores
DiegoAlfaro1 Jun 5, 2025
6806bed
Merge pull request #120 from CodeAnd-Co/feature/DA_RF9_actualizar-rol
ArturoSanRod Jun 5, 2025
fbf18bf
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ZValer Jun 5, 2025
f9b5927
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
Hiram10tec Jun 5, 2025
97fae6d
Corregir rutas duplicadas
Hiram10tec Jun 5, 2025
acc1f25
Corregir conflictos
Hiram10tec Jun 5, 2025
e9719b6
Feat: controller, rutas, repositorio, mensajes
angieriosc Jun 6, 2025
b9b44dd
corrección lint
Hiram10tec Jun 6, 2025
3134acb
Feat: consulta productos completa, controller con las hojas de produ…
angieriosc Jun 6, 2025
496b9e3
Feat: Agregar SKU automatica, y corregir parseo de productos
angieriosc Jun 6, 2025
fe385dc
Fix: correciones eslint
angieriosc Jun 6, 2025
b48feb7
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
angieriosc Jun 6, 2025
f5e8cce
Fix: pasar logica a repositorio
angieriosc Jun 6, 2025
61fed11
fix: validacion de proveedor existente
NicoH00d Jun 6, 2025
fe52355
Merge pull request #122 from CodeAnd-Co/feature/PG-ARC_RF58_Exportar-…
DiegoAlfaro1 Jun 6, 2025
97766b7
feat: agregar validación de proveedor existente
NicoH00d Jun 6, 2025
dd331d1
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
NicoH00d Jun 6, 2025
9521924
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
Hiram10tec Jun 6, 2025
dea5ce3
Añadir dependencias
Hiram10tec Jun 6, 2025
37071e0
fix: mensajes de validacion
NicoH00d Jun 6, 2025
2834863
FIX: mensajes de validacion
NicoH00d Jun 6, 2025
2465500
Merge branch 'develop' of https://github.com/CodeAnd-Co/Backend-texti…
Jun 6, 2025
7114aa6
Merge pull request #121 from CodeAnd-Co/feature/HIML_RF49_actualizar-…
NicoH00d Jun 6, 2025
d15601d
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
NicoH00d Jun 6, 2025
1bb390c
fix: validacion de decripcion repositorio
NicoH00d Jun 6, 2025
ba297a8
feat: agregar proteccion CSRF
DiegoAlfaro1 Jun 6, 2025
28d5097
feat: actualizar sets productos
ZValer Jun 6, 2025
88606d9
feat: Desplegar los productos iniciales para actualizar set
ZValer Jun 6, 2025
349aed4
fix: Corregir errores de lint
ZValer Jun 6, 2025
02edcd3
Implementación semi funcional de actualizar set de cuotas
ArturoSanRod Jun 6, 2025
2a60635
Funcionalidad de actualizar pedido
ArturoSanRod Jun 6, 2025
adc1f7d
No se manda el ID al hook
ArturoSanRod Jun 6, 2025
e268153
fix: mensaje de validacion
NicoH00d Jun 6, 2025
f125849
fix: console error
NicoH00d Jun 6, 2025
d7fb0ff
Fix: consulta, revisar entradas maliciosas, lógica controller y repos…
angieriosc Jun 6, 2025
3a85b01
feature/CIFM rf16 crear empleado
Jun 6, 2025
00ea41d
chore: Merge branch 'MBI-1'
Jun 6, 2025
70e12ab
fix: arreglar errores de eslint
Jun 6, 2025
88c3ded
feat: Agregar pruebas automaticas
NicoH00d Jun 6, 2025
93e3a16
hotfix: quitar console.error
Jun 6, 2025
cba22a7
Fix: mensajes en constantes
NicoH00d Jun 6, 2025
7eba807
FIX: renombrar variable
NicoH00d Jun 6, 2025
4845d6d
test: agregar pruebas automáticas en los modulos de clientes, categor…
Jun 6, 2025
27d14f3
Merge pull request #128 from CodeAnd-Co/test/PG_no_ref_pruebas-automa…
Krlos7121 Jun 6, 2025
d9f9c68
Merge branch 'MBI-1' into feature/NHF_RF56_ImportarProducto
NicoH00d Jun 6, 2025
9d8bf6d
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ZValer Jun 6, 2025
f5385bc
Merge branch 'MBI-1' into feat/DA_no_ref_agregar-CSRF
angieriosc Jun 6, 2025
cb2617d
Merge pull request #125 from CodeAnd-Co/feat/DA_no_ref_agregar-CSRF
angieriosc Jun 6, 2025
4604ef5
Implementacion de actualizar set de cuotas
ArturoSanRod Jun 6, 2025
9c24ca4
Fix de implementacion de console logs
ArturoSanRod Jun 6, 2025
274393d
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ArturoSanRod Jun 6, 2025
d9ee1e9
fix: Agregar manejor de error de nombre duplicado
ZValer Jun 6, 2025
ece3b69
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ZValer Jun 6, 2025
08a6c83
docs: Agregar comentarios de JSDocs
ZValer Jun 6, 2025
d11a19f
fix: manjeo de error
ZValer Jun 6, 2025
dfd2f9b
Fix: Correciones eslint
angieriosc Jun 6, 2025
8aa811e
Merge branch 'MBI-1' into feature/NHF_RF56_ImportarProducto
ArturoSanRod Jun 7, 2025
390f248
Merge pull request #124 from CodeAnd-Co/feature/NHF_RF56_ImportarProd…
ArturoSanRod Jun 7, 2025
3712b6d
Merge branch 'MBI-1' into feat/VZ_RF44_Actualiza_set_productos
DiegoAlfaro1 Jun 7, 2025
4fc7015
Merge branch 'MBI-1' into tests/NHF_RF1_CrearUsuario
NicoH00d Jun 7, 2025
d269c08
Merge pull request #129 from CodeAnd-Co/feat/VZ_RF44_Actualiza_set_pr…
DiegoAlfaro1 Jun 7, 2025
21315a6
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
NicoH00d Jun 7, 2025
efa080b
Merge pull request #126 from CodeAnd-Co/tests/NHF_RF1_CrearUsuario
Krlos7121 Jun 7, 2025
591a85f
Merge branch 'MBI-1' into feature/CIFM_RF16_Crear-empleado
NicoH00d Jun 7, 2025
455722b
Merge pull request #127 from CodeAnd-Co/feature/CIFM_RF16_Crear-empleado
NicoH00d Jun 7, 2025
6030c84
Merge branch 'MBI-1' into feature/ASR_RF62_Actualizar_Pedido
DiegoAlfaro1 Jun 7, 2025
24bf621
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ArturoSanRod Jun 7, 2025
4a0aae0
Implementacion de JSDocs
ArturoSanRod Jun 7, 2025
5288c80
Merge pull request #130 from CodeAnd-Co/feature/ASR_RF62_Actualizar_P…
DiegoAlfaro1 Jun 7, 2025
9cbd2be
Merge branch 'MBI-1' into feature/ASR_RF34_Actualizar_Set_Cuotas
Krlos7121 Jun 7, 2025
dc0f24e
Merge pull request #131 from CodeAnd-Co/feature/ASR_RF34_Actualizar_S…
Krlos7121 Jun 7, 2025
a96a863
tests: Agregar pruebas automáticas de consultar lista y actualizar se…
ZValer Jun 7, 2025
a140a3d
Merge branch 'MBI-1' of https://github.com/CodeAnd-Co/Backend-textile…
ZValer Jun 7, 2025
04d8ebe
Merge pull request #134 from CodeAnd-Co/tests/VZ_no_ref_pruebas_autom…
ArturoSanRod Jun 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 59 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Plantilla PR BackEnd TEXT & LINES

---

## Descripción

<!-- Agrega una descripción breve del cambio y, si aplica, si se necesita instalar una nueva dependencia. -->

---

## Tipo de cambio

- [ ] Corrección de error (cambio no disruptivo que soluciona un problema)
- [ ] Nueva funcionalidad (cambio no disruptivo que agrega funcionalidad)
- [ ] Cambio disruptivo (corrección o función que afecta la compatibilidad existente)
- [ ] Este cambio requiere actualización en la documentación
- [ ] Cambio mínimo (cambio estructural o visual sin impacto en la lógica principal)

---

## Nueva funcionalidad (si aplica)

- [ ] Controlador
- [ ] Ruta
- [ ] Repositorio
- [ ] Consulta
- [ ] Mensaje
- [ ] Middleware
- [ ] Servicio

Si agregaste otro archivo relevante, indícalo aquí:
- `ejemploArchivo.js`

---

## ¿Cómo se ha probado?

- [ ] Se probaron manualmente los endpoints con Postman
- [ ] Pasaron las pruebas unitarias (si aplica)
- [ ] Se probaron integraciones con otros módulos
- [ ] No se mostraron errores en consola ni logs
- [ ] Validado en base de datos que el comportamiento es correcto

---

### Cambios menores

- [ ] Este PR realiza un cambio mínimo que no afecta la lógica del sistema
- [ ] Se validó manualmente que el cambio no afecta funcionalidades existentes
- [ ] No se realizaron pruebas automatizadas porque no aplica

---

## Checklist del evaluador:

- [ ] He determinado que el autor cumplió con todos los puntos mencionados
- [ ] He determinado que los cambios no tienen un impacto negativo en la aplicación
- [ ] He notificado al autor del PR en caso de dudas o ajustes necesarios
- [ ] Una vez que acepte el PR, eliminaré la rama correspondiente
68 changes: 68 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Node.js CI/CD

on:
push:
branches:
- main
- staging

jobs:
deploy-production:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
steps:
- name: Setup SSH
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
SERVER_IP: ${{ secrets.SERVER_IP }}
run: |
mkdir -p ~/.ssh
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H $SERVER_IP >> ~/.ssh/known_hosts
ssh-keyscan -H github.com >> ~/.ssh/known_hosts

- name: Deploy to Production
env:
SERVER_IP: ${{ secrets.SERVER_IP }}
PROJECT_PATH: ${{ secrets.PROJECT_PATH_PRODUCTION }}
GIT_REPO: ${{ secrets.GIT_REPO }}
PM2_PROCESS: ${{ secrets.PM2_PROCESS_PRODUCTION }}
run: |
ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ubuntu@$SERVER_IP "
cd $PROJECT_PATH &&
git checkout main &&
git pull origin main &&
npm install &&
pm2 reload ecosystem-production.config.js --only $PM2_PROCESS
"

deploy-staging:
if: github.ref == 'refs/heads/staging'
runs-on: ubuntu-22.04
steps:
- name: Setup SSH
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
SERVER_IP: ${{ secrets.SERVER_IP }}
run: |
mkdir -p ~/.ssh
echo "$DEPLOY_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan -H $SERVER_IP >> ~/.ssh/known_hosts
ssh-keyscan -H github.com >> ~/.ssh/known_hosts

- name: Deploy to Staging
env:
SERVER_IP: ${{ secrets.SERVER_IP }}
PROJECT_PATH: ${{ secrets.PROJECT_PATH_STAGING }}
GIT_REPO: ${{ secrets.GIT_REPO }}
PM2_PROCESS: ${{ secrets.PM2_PROCESS_STAGING }}
run: |
ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no ubuntu@$SERVER_IP "
cd $PROJECT_PATH &&
git checkout staging &&
git pull origin staging &&
npm install &&
pm2 reload ecosystem-staging.config.js --only $PM2_PROCESS
"
45 changes: 45 additions & 0 deletions .github/workflows/on-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Lint on Pull Request

on:
pull_request:
branches:
- main
- staging
- develop
- MBI-1

jobs:
lint:
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.14'

- name: Install dependencies
run: npm install

- name: Run Linter
run: npm run lint
pruebas-automaticas:
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.14'

- name: Install dependencies
run: npm install

- name: Run Jest
run: npm run test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

.idea
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

Expand Down
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions .idea/aws.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/dataSources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/dictionaries/project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/material_theme_project_new.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions .idea/webResources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"proseWrap": "preserve",
"endOfLine": "lf",
"operatorPosition": "before"
}
Loading