Skip to main content

Questions tagged [nestjs]

Nest (NestJS) is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript.

-1 votes
1 answer
11 views

How can I connect Nest.js backend framework with Astro frontend?

I am creating a project but don't know how to connect the 2 frameworks. I currently have 2 separate folders one called frontend with the astro framework and the other one called backend with Nest.js I ...
FlamurMatoshi's user avatar
0 votes
0 answers
5 views

NestJS: Why does custom DB-logger (implementing TypeOrmLogger) only show DB-requests in log, not DB-responses

In my NestJS service, I've implemented a custom DB logger, which is meant to log both the before (requests), as well as the after (DB responses) info. I've done this by implementing the suggested ...
Schalk Sevenster's user avatar
0 votes
0 answers
19 views

(Passport JWT & NestJS) Token expired is blocked due having ignoreExpiration: true

I have a rt strategy and I don't want to check if the token is expired, I just want to verify it. I have declared in the super the ignoreExpiration a true but it stills give me a 401 and doesn't even ...
Alex's user avatar
  • 11
0 votes
1 answer
22 views

error in typescript while importing the p-retry library

I have found a lot of similar posts, but, I've not found one specifically for this scenerio (for p-retry) where, the library does provide it's own type-definitions, and has sample documentations doing ...
BumbleBee's user avatar
0 votes
1 answer
22 views

How to select and enter all role names (separate column) in the incoming data field as an array in typeorm query

I have a typeorm library using nestjs and a mysql database which has a table user, user_roles (many to many) and roles. I also have a user who already has the super_admin role. const users = await ...
Dmitriy Novikov's user avatar
0 votes
0 answers
21 views

TypeORM fails to load postgresql tables associated with the id in Nest.js application

The problem I'm facing is that this query sometimes returns jobs where userId is not present in reviewUsers, inviteUsers, or favouriteUsers, despite expecting to retrieve all jobs where userId matches ...
Aleksandregvrm's user avatar
-2 votes
0 answers
12 views

Integrate @web3auth/single-factor-auth in a FastAPI Application

I'm working on migrating an application from NestJS to FastAPI and need help integrating Web3Auth's @web3auth/single-factor-auth SDK into my FastAPI project. In my NestJS application, I used the ...
Sung Jin-Woo's user avatar
0 votes
0 answers
30 views

How scalable real-time collaborative whiteboard persists with data?

Planning to implement a scalable real-time collaborative whiteboard but don’t know what architecture to use in order to keep the users persistent without slowing down the application. The application ...
Drenky's user avatar
  • 11
0 votes
0 answers
9 views

res.setHeader is not a function occurs when logging in to nestjs+graphql+Google

I am testing Google social login with nestjs and graphql. However, an error res.setHeader is not a function appears. This is the auth.module.ts file. import { Module } from '@nestjs/common'; import {...
반가우면반갑다고해's user avatar
0 votes
1 answer
39 views

why doesn't npm install work properly in NestJS/ubuntu

I was working on a NestJS project, I recently moved from windows to Ubuntu and once I cloned the project from github on my linux, the npm install command doesn't work with the following error: ...
ikianm's user avatar
  • 31
1 vote
0 answers
13 views

How to connect main app with microservice rabbitMQ to use websockets from microservice

I have main app with connected webSockets, but also, I have RabbitMQ microservice with methods where I want to send message to client by websockets. Could you assist with connection? Here is my app....
Dart Vinnie's user avatar
1 vote
1 answer
31 views

Async providers with nestjs

I am running nestjs and I want to make an async provider. Here is my folder structure . ├── dist │   └── main.js ├── libs │   └── dma │   ├── src │   │   ├── client │   │   │   ├── client....
Normal's user avatar
  • 2,920
0 votes
0 answers
21 views

How to disable overriding of env variables in Nest.js Config Module

Im using @nestjs/config alongside env-var for managing my configuration in Nest.js. However, when I specify env variables in [load] function for ConfigModule with the same names as environment: ...
ColdDarkness's user avatar
0 votes
0 answers
14 views

How to use a custom DB logger with TypeORM?

I am using TypeORM and NestJS. The default TypeORM logger seems to not log in JSON output format, which is what I want. How can I create a custom DB logger that allows me to customise how I want to ...
Schalk Sevenster's user avatar
0 votes
2 answers
33 views

Use Response object in service Nestjs

I have this controller @Post('/login') async login(@Res() res: Response, @Body() body: LoginDto) { try { const user = await this.authService.login(body); return ResponseUtil.success(...
LXT's user avatar
  • 845

15 30 50 per page
1
2 3 4 5
855