About 14,600,000 results
Open links in new tab
  1. javascript - NestJS - How to use .env variables in main app module …

    Aug 6, 2020 · I am working on my first NestJS application, which was working fine with hardcoded database connecting string in app.module.ts. But then as per our requirements, I had to pick …

  2. Best practice to use config service in NestJS Module

    Nov 22, 2018 · However, NestJS Docs - Configuration Namespaces as well as NestJS Authentication and Authorization Course provide an alternative method of solving this issue.

  3. Inject nestjs service from another module - Stack Overflow

    Aug 13, 2018 · I've got a PlayersModule and an ItemsModule. I want to use the ItemsService in the PlayersService. When I add it by injection: import { Injectable } from '@nestjs/common'; …

  4. Validate nested objects using class validator and nestjs

    Dec 14, 2018 · I'm trying to validate nested objects using class-validator and NestJS. I've already tried following this thread by using the @Type decorator from class-transform and didn't have …

  5. nestjs - Accept form-data in Nest.js - Stack Overflow

    Sep 13, 2020 · I have written auth routes in Nestjs and wanted to use it with the form-data. I got it working with URL-encoded-form-data, JSON, text, but not receiving anything in the body when …

  6. javascript - How to use nestjs Logging service - Stack Overflow

    Oct 4, 2018 · I am trying to show a sample custom logger implementation and how it can be injected to the Nestjs framework. I understand that Nestjs inherently uses pino logger. This is …

  7. javascript - NestJS enable cors in production - Stack Overflow

    Jun 20, 2018 · I've enabled CORS in my NestJS app following the official tutorial, so my main.ts looks like the following: import { FastifyAdapter, NestFactory } from '@nestjs/core'; import { …

  8. nestjs - How to workraound this TypeORM error, "EntityRepository …

    Mar 21, 2022 · Just tried this with nestjs v10.2.7, nestjs/typeorm v10.0.0 and typeorm v0.3.17 and it works. Cleanest solution to this that I've seen yet.

  9. how to send error codes in nestjs app from controller?

    Jul 4, 2019 · i was doing it wrong i was importing response from nestjs/common when i had to import Response object from express.

  10. How to consume SOAP services in NestJS? - Stack Overflow

    Oct 28, 2021 · Now I am not able to figure out how to consume this service in my NestJs dummy application. By exploring for quite sometime, I found a library nestjs-soap, which I installed and …