In this article I will explain how to use the Cloudinary package with NestJS custom providers. You can find an example at the end of the article.
nest new nest-cloudinary-example
2. Then, generate a module, provider and service with the NestJS CLI:
nest generate module cloudinary
nest generate provider cloudinary
nest generate service clodinary
4. Create a file in the cloudinary folder called
constants.ts, this file contains a constant called
Cloudinary which is used as a provider injection token.
Jr. NodeJS Backend Developer from El Salvador.