Add logging

This commit is contained in:
araemer 2025-11-20 19:58:14 +01:00
parent 2a6153002c
commit 8814658142
11 changed files with 826 additions and 55 deletions

View file

@ -23,11 +23,6 @@ export const userBasicRoute = "/user";
*/
const router = Router();
router.use((req, res, next) => {
console.log(`Incoming request: ${req.method} ${req.path}`);
next();
});
// Inject repo + mapper here
const handler = new UserHandler(new UserRepository(), new UserDtoEntityMapper());