python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
NestJS tcp microservice load balance
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 duplicated microservice.
I would like to load...
Gilad
Votes: 0
Answers: 1
what is the proper way to connect to a WebSocketGateway server in Nestjs production mode?
my nestjs WebSocketGateway server is working perfectly in dev mode but in production mode i can see those clients that trying to connect but the server raise the followed exception 2022-02-08T08:33:33...
Prince D.Taylor
Votes: 0
Answers: 1
How to use guards with NestJs gateway(web sockets)?
In my NestJS API, I'm JWT token, stored in a cookie to authenticate my users.
The user will have to call my login controller:
@UseGuards(LocalAuthenticationGuard)
@Post('login')
async logIn(@Req...
J4N
Votes: 0
Answers: 0