3 Commits

Author SHA1 Message Date
2e30763da5 Refactor logger and error handling modules
Moved isTrueFromDotEnv to logger.js and updated its usage. Simplified logger import and instantiation across modules. Added errors.js for centralized error exports. Set default error code in DefaultError. Cleaned up unused imports in utils.js.
2026-01-27 04:08:46 +01:00
7e1eaf3f1f Add dynamic route matching and validation improvements
Introduces dynamic route parameter support in route path computation and schema matching. Adds a utility for sending validation errors, updates schema definitions to support header validation, and refactors server middleware to handle header, body, and query validation with improved error handling. Also adds a placeholder user route and updates dependencies to include 'path-to-regexp'.
2025-12-20 18:19:03 +01:00
18efd445e5 Added a better error handling 2025-12-20 15:48:57 +01:00