bitHeads interview question

Resolving dependency of a REST endpoint in NestJS