About 19,900,000 results
Open links in new tab
  1. javascript - NestJS - How to use .env variables in main app module file ...

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

  2. How to protect/require Authentication to access the NestJS Swagger ...

    49 Securing access to your Swagger with HTTP Basic Auth using NestJS with Express First run npm i express-basic-auth then add the following to your main.{ts,js}:

  3. 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 just a custom …

  4. Newest 'nestjs' Questions - Stack Overflow

    NestJS converting mongodb snake case to camel case format but it returns undefined I'm currently trying to create the model using nestjs mongoose schema, and i want to convert the mongodb data …

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

  6. nestjs - How to find supported Node.js version for Nest.js? - Stack ...

    Sep 22, 2023 · I'm new to Node.js, and I'm wondering how to determine which version of Node.js a specific version of NestJS supports. I've checked the package-lock.json file for engines property, but …

  7. 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 any luck.

  8. Enable Cors in NestJs - Stack Overflow

    Oct 22, 2019 · Enable Cors in NestJs Asked 6 years, 1 month ago Modified 3 years, 7 months ago Viewed 25k times

  9. 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 I use …

  10. NestJS Create Reusable/Publishable Library - Stack Overflow

    Jun 11, 2020 · And since we wanted a standalone library, this comment from NestJS's creator might be what we needed: for standalone libraries (publishable to NPM), you can simply create a new Nest …