
- 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 … 
- Why do I keep getting "[eslint] Delete `CR` [prettier/prettier]"?- I have the same issue using VS Code for a NestJS + Mongoose server project. The same solution mentioned in several answers above, with a twist: Put it in the eslint.config.mjs` (extension can also … 
- 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. 
- 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'; import { … 
- 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 injected to the Nestjs … 
- 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. 
- Nestjs - Cannot find module dist\\main - Stack Overflow- Nov 3, 2023 · I'm using nestjs. I have a front application so I've decided to create a "common" folder for both front and back: project │ └───common │ │ │ └───dtos │ ... 
- 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 { AppModule } … 
- Run NestJS worker in a separate process - Stack Overflow- Dec 5, 2021 · I am implementing NestJS worker, queues, using Bull. According to the documentation, both the worker and the server (will) run in a same "process", but I want to run the worker … 
- nestjs - nest start --watch not reloading after changes (nest start ...- Feb 16, 2022 · I have a nest.js installation. When I run npm run start:dev (which runs start --watch) everything works fine and the green logs appear. The thing is that when I update something in the …