NestJS REST API: class-validator & class-transformer
In this post we will try to focus on how to start implementing the class-validator and class-transformer libraries. Both of them are widely used tools for validating REST API Requests’ data and/or transform your API Responses before to send them back to the client.