NestJS Basics


Implementing ToDo App with NestJS

Path in CodeSignal

Data Transfer Object (DTO)

  • object that carries data between processes
  • motivation for use:
    • communication between processes usually done resorting to remote interfaces (e.g. web services) where each call is expensive operation
    • because majority of cost of each of those calls is related to round-trip between client and server, one way of reducing number of calls is to use object (a DTO) that aggregates data that otherwise would've been transferred by several calls

Citation

Made with Gatsby G Logo