About 14,500,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. How do I get a request header using NestJS? - Stack Overflow

    Aug 31, 2021 · How do I get a request header using NestJS? Asked 4 years, 1 month ago Modified 3 years, 2 months ago Viewed 20k times

  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. 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 …

  7. 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 …

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

    Oct 4, 2018 · This answer might be useful for others who are trying with CustomLogger Implementation. I am trying to show a sample custom logger implementation and how it can be …

  9. 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.

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

    Jul 4, 2019 · To return a status code in nestjs, you need to include the @Res () in your parameters. Normally in nestjs the passthrough option on the Response object is set to false …