Skip to content Skip to sidebar Skip to footer
Showing posts with the label Nestjs

Type Of Object Received During File Upload Using @uploadfile

In the REST API below, what is the type of file object that is received. @Post('/:folderId/doc… Read more Type Of Object Received During File Upload Using @uploadfile

Validate Nested Objects Using Class Validator And Nestjs

I'm trying to validate nested objects using class-validator and NestJS. I've already tried … Read more Validate Nested Objects Using Class Validator And Nestjs

Serving Multiple Static Files In Nestjs For Different Locations And Prefixes?

I am currently serving static files for some developer static docs I have created, I am currently u… Read more Serving Multiple Static Files In Nestjs For Different Locations And Prefixes?

Nestjs + Typeorm: Use Two Or More Databases?

I'm trying since 2 days to solve this, perhaps I'm simply missing the point here. My goal w… Read more Nestjs + Typeorm: Use Two Or More Databases?

How To Define Location In An Entity Using Mongodb

I am using nest js in my sample application. I define the entity of my application .Entity means a … Read more How To Define Location In An Entity Using Mongodb

How To Apply Both Validationpipe() And Parseintpipe() To Params?

I'm trying to apply both the ValidationPipe() and ParseIntPipe() to the params in my NestJs con… Read more How To Apply Both Validationpipe() And Parseintpipe() To Params?

How To Use Nestjs Logging Service

I tried to use the internal Logger of nestjs (described on https://docs.nestjs.com/techniques/logge… Read more How To Use Nestjs Logging Service

NestJs Async HttpService Call

How can I use Async/Await on HttpService using NestJs? The below code doesn`t works: async create(d… Read more NestJs Async HttpService Call

How To Mock S3 With Jest?

I am tryng to code a test for upload. But i am not understating how to properly use jest.mock('… Read more How To Mock S3 With Jest?