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.
nestjs
12,831
questions
0
votes
0
answers
10
views
Nestjs serverless in lambda size limit
I have an nest js api running locally then i have decided to deploy it on the aws lambda but there is a limit of 250mb unzipped
then i tried deploying using ecr with docker image container and webpack ...
0
votes
0
answers
10
views
Circular Dependency in NestJs with a module that is called by all other modules
Im getting a Circular dependency error for the following situation, Lets say I have 3 modules; AuthModule, UsersModule, CustomLoggerModule.
Both UsersModule and AuthModule consume the ...
1
vote
0
answers
16
views
Unable to Resolve Dependencies from EntityRepository in TypeOrmModule. But EntityRepository doesn't exists
I am working on a NestJS project that uses TypeORM. Currently implementing a data feed in the 'command handler' pattern so each user has a customized output from the same endpoint.
Error Message
- [...
0
votes
0
answers
22
views
Kafka dissconnecting after few days
We are using Kafka for data exchange between microservices in NestJS and Java. We have an API Gateway in NestJS and a user service in Java. We are facing an issue with Kafka disconnecting after a few ...
0
votes
0
answers
9
views
Authenticate with Xero Connected App got undefined with CallbackParams
I created an OAuth2 flow with a Xero Connected App, and it was working fine.
The workflow is as follows:
When a user clicks a link like https://server-domain/xero/auth?url=some_redirect_link, they ...
1
vote
0
answers
15
views
Get Redis keys that match a pattern in v4
I was using Redis version 3 in my Node.js app that published a message. To publish this message, I was able to fetch specific keys that matched a value. Now I have updated to version 4, and it looks ...
1
vote
1
answer
35
views
Sort by field of an object in array where id matches the specific element object id in the array NestJS , Mongodb
I have following result data which is not properly sorted according to my needs
[
{
"_id": "defmongodb_objectId",
"categories": [
{
"category&...
-2
votes
0
answers
17
views
Message d'erreur dans mon fichier concert.module.ts [closed]
Je travail sur une app de reservation de ticket de concert sur nestjs mais j'ai un message d'erreur sur import: [MongooseModule.forFeature([{ name: 'Concert', schema: ConcertSchema }])],
import { ...
0
votes
1
answer
29
views
Why is my NestJS unit test not getting full coverage?
I have a pretty simple NestJS guard for SAML auth which works just fine
export class SamlAccessGuard extends AuthGuard('saml') implements CanActivate {
private readonly isDevelopment = process.env....
0
votes
0
answers
6
views
Proxy socket.io with from react to nestjs
I am currently working with :
React JS with http-proxy-middleware
NestJS exposing websocket via gateways
I am trying to access my gateways at the same url using proxy but it does not work.
Here is ...
0
votes
1
answer
14
views
How to test the return type line of a NestJS resolver with jest
I am new to NestJS and trying to unit test my files to have a good code coverage starter point.
I managed to test everything in my app, except an auth.resolver.ts
Here it is :
import { Resolver, ...
1
vote
0
answers
33
views
My JWT token is said to be expired 2 months ago when I just created the token, what causes this problem?
I'm making a web application that has a function for users to add different artists to their favorite-list. The login function works and users get a JWT upon logging in, I even added logging to the ...
0
votes
0
answers
13
views
Error Exporting Enum from NPM Workspace in Angular-Nest Project
I'm working on an Angular-Nest project using a monorepo structure with multiple workspaces. I am trying to export an enum from the types workspace and use it in the server workspace, but I'm ...
-2
votes
0
answers
31
views
ZeroTier One vpn ip not working on expo react native app as api [closed]
i am building an expo react native app, the backend is nestjs, i installed zerotier one vpn and created a network and i joined the network in mobile device
when i go to this link "http://10.x.x....
0
votes
0
answers
12
views
Reissuing an accesstoken using a refresh token in react, apollor graphql
This is a query statement that retrieves user information. If error 401 occurs here
import { ApolloError, gql, useQuery } from '@apollo/client';
interface IUserInfo {
fetchUser: {
picture: ...