[added] - inversify for inversion of control (IoC) container

This commit is contained in:
Swapnil Bendal
2024-12-18 13:17:41 +05:30
parent ca2831cf23
commit f67cfc4ef7
12 changed files with 100 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ class App {
}
public listen(port: number): ReturnType<typeof this.app.listen> {
return this.app.listen(port, () => {
return this.app.listen(port, () => {
logger.info(`Server listening on port ${config.port}`);
logger.info(`Environment :- ${config.env}`);
})