NestJS Inversion of Control example

Code supporting the technique explained in details here.