El objetivo de esta prueba técnica es evaluar tu capacidad para construir una API funcional y precisa que calcule fechas hábiles en Colombia, teniendo en cuenta:
- Los días festivos nacionales
- Horarios laborales (lunes a viernes, de 8:00 a.m. a 5:00 p.m., con horario de almuerzo de 12:00 p.m. a 1:00 p.m.).
- Zonas horarias (el cálculo debe hacerse en hora local de Colombia y la respuesta debe ser en UTC)
Esta prueba busca evaluar tanto tu lógica como tu habilidad para implementar reglas de negocio específicas en un entorno realista.
La API debe recibir una cantidad de horas y/o días hábiles a sumar a partir del momento actual (en hora colombiana), y devolver como respuesta la fecha y hora resultante ya convertida a UTC
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# test coverage
$ npm run test:covCheck out a few resources that may come in handy when working with NestJS:
- Visit the NestJS Documentation to learn more about the framework.
- For questions and support, please visit our Discord channel.
- To dive deeper and get more hands-on experience, check out our official video courses.
- Deploy your application to AWS with the help of NestJS Mau in just a few clicks.
- Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
- Need help with your project (part-time to full-time)? Check out our official enterprise support.
- To stay in the loop and get updates, follow us on X and LinkedIn.
- Looking for a job, or have a job to offer? Check out our official Jobs board.
MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author: Ing.Francisco Astudillo
- Email: fjastudillo34@gmail.com
- Phone: (+57) 3122405077
API Date is MIT licensed.
