Add logging
This commit is contained in:
parent
2a6153002c
commit
8814658142
11 changed files with 826 additions and 55 deletions
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue