REPOSITORY - https://github.com/sahilrajput03/learn-nestjs/
and it’ll reflect like:
Writing tests with nestjs is awesome:
Adding service as dependency injection to the controller. So this simply means that nestjs will automatically instantiate the service class for us.
Get from nestjs will be automatically imported.
These decorators optionally can have string as first argument to define the path of the api handling of each of them.