Let's assume a monolithic web service. The architectural design is based on the DDD and divides the domain into sub-domains. These are structured according to t
Im trying to make file upload in my api using this strategy: https://stephen-knutter.github.io/2020-02-07-nestjs-graphql-file-upload/. Without the ValidationPi
I have this stored procedure to save a purchase with a token relate. But I'm facing an error when I try to call it in Nestjs/typeorm. I checked and I'm passing
The docs at https://docs.nestjs.com/graphql/other-features#exception-filters only says : Nest standard exception filters are compatible with GraphQL applicatio
I'm doing a little project in this quarantine time to learn about the backend part of a project. In this case I'm using Angular as client-side and NestJS as bac
I'm am developing an application using NestJS and TypeORM. Whenever I try to generate migrations from my entities (by running typeorm migration:generate) I get
I am unable to connect to mongodb asynchronously. Please let me know what am I doing wrong. MongoConfig file: import { MongooseModuleOptions } from '@nestjs/mon
Problem In a federated nest app, a gateway collects all the schemas from other services and form a complete graph. The question is, how to re-run the schema col
I'm using NestJS 7.0.7 and Winston 3.2.1 (with nest-winston 1.3.3). I'm trying to integrate Winston into NestJS, but so far, I'm unable to inject a logger inst
I have tried to add cookie-parser - https://www.npmjs.com/package/cookie-parser to my NestJS app: import * as cookieParser from 'cookie-parser'; consumer .appl
I am having issues trying to get a hold of the NestJS handler's route in an interceptor I am writing. For instance, if a Controller had a route as such: @Get
I'm working on an EmailModule that reads a pug template. I couldn't get the build to include the *.pug templates file: I have followed the instruction based o
I have two entities: User and Habit. A user can create multiple Habits, thus I use a OneToMany relation on the User (and ManyToOne on the Habit, respectively).
I read the article from link and understand there are 3 ways to define abilities. But I have no clue to combine them together. For example, In the three struct
I implemented Clinic.js in Node JS. But I don't know how to implement clinic.js in Nest JS Framework. I explore it how to implement clinic.js to Nest JS. But I
I've enabled CORS in my NestJS app following the official tutorial, so my main.ts looks like the following: import { FastifyAdapter, NestFactory } from '@nestj
I am trying to add summary in my swagger documentation routes but I am not able to find the appropriate decorator for defining the summary. There are some rout
I am working on a nestjs project. My project gets data from Kafka's topic and writes the data to the database (mysql). If I read hundreds of messages from Kafka
I'm trying to inject my users service into my validator constraint interface but it doesn't seem to work: import { ValidatorConstraintInterface, ValidatorConst
I have a nestjs app as follows: Gateway - HTTP Microservice1 - TCP (ms1) Microservice2 - TCP (ms2) Gateway calling ms1 and ms2. ms1 and ms2 are the same duplica