I want to add an endpoint that would simplify development/testing. At the same time, this endpoint is not needed in production. Coming from Java world, there has always been an out of the box solution (eg with profiles), but I didn't find anything like that in the NestJS documentation.
Quastion: Is there a way to implement an endpoint in NestJS that would not be available if the app is built for production use?
Via Active questions tagged javascript - Stack Overflow https://ift.tt/YT4Px3L
Comments
Post a Comment