Login
Discover
Waves
Communities
Login
Signup
Topics
#nestjs
Global
Trending
Hot
New
Top
#nestjs
New
Top communities
Create your community
latest #nestjs created topics | Ecency
simplestack
nestjs
1y
!
Low reputation account with an unverified outbound link, Reveal content
Why NestJS Isn’t Necessary for Your Project
So there I was…thinking on how to overengineer things to satisfy my ego and make my life harder…yet again — Anon....
$ 0.000
2
albro
Programming & Dev
2y
Published via Ecency
Mastering NestJS: From Installation to Coding Best Practices
The Nest JS framework is a tool that you can use to develop your web and server-side applications. Nest JS was created based on the Node JS backend platform, and ...
$ 0.023
263
1
5
realmankwon
dblog
5y
!
Downvoted by users, Reveal content
[개발] # 8. Nest.js - mapped-types 모듈 사용법
안녕하세요 @realmankwon입니다. DTO 를 사용할 때 mapped-types 모듈을 사용하면 DTO 의 재사용성을 높일 수 있습니다. 아래와 같이 필요한 모듈을 먼저 설치합니다. npm i @nestjs/mapped-types mapped-types에서 사용할 수 있는 기능은 다음과 같습니다. PartialType PickType OmitType
realmankwon
dblog
5y
!
Downvoted by users, Reveal content
[개발] # 7. Nest.js - Pipe 설정
안녕하세요 @realmankwon입니다. DTO를 사용할때 main.ts 에 선언한 Pipe의 옵션에 따라 더 편하게 사용할 수 있는 기능들이 있습니다. app.useGlobalPipes( new ValidationPipe({ whitelist: true, forbidNonWhitelisted: true, transform: true, }), ); whitelist
zainalbakri
INDONESIAN HIVE
13d
Promoted
A Journey Across Samosir: Where Hills and Water Tell Ancient Stories
On Sunday, just one day before Indonesia celebrated the 81st anniversary of its independence, my family and I embarked on a journey that would become one of our most memorable travel experiences. For the
realmankwon
dblog
5y
!
Downvoted by users, Reveal content
[개발] # 6. Nest.js - DTO(Data Transfer Object)
안녕하세요 @realmankwon입니다. DTO(Data Transfer Object) 를 사용하는 이유는 코드를 더 간결하게 만들 수 있도록 해 줌과 동시에 들어오는 쿼리에 대해 유효성을 검사할 수 있게 해 준다는 것입니다. 유효성 검사를 위해서는 main.ts에 다음과 같이 Pipe를 추가 해주어야 합니다. import { ValidationPipe }
realmankwon
dblog
5y
!
Downvoted by users, Reveal content
[개발] # 5. Nest.js - @Query
안녕하세요 @realmankwon입니다. express 의 req.query 는 @Query decorator를 사용하면 됩니다. 라고 url을 입력하고 year 를 사용하기 위해서는 다음과 같이 작성합니다. @Controller('movies') export class MoviesController { @Get('/search') search(@Query('year')
realmankwon
dblog
5y
!
Downvoted by users, Reveal content
[개발] # 2. Nest.js - command
안녕하세요 @realmankwon입니다. Nest.js 프로젝트에서 터미널로 명령을 할 때 사용법이 궁금하면 nest 라고 입력하면 다음과 같이 사용법이 나오게 됩니다. 만약 controller 파일을 생성하고 싶다면 Commands 에서 아래의 명령어를 참조하면 됩니다. generate|g [options] [name] [path] Generate a Nest
realmankwon
dblog
5y
!
Downvoted by users, Reveal content
[개발] #1. Nest.js - 기본 구조
안녕하세요 @realmankwon입니다. Nest.js 의 기본 골격은 다음과 같습니다. main.ts app.controller.ts app.module.ts app.service.ts 시작점은 말할 필요도 없이 main.ts 입니다. import { NestFactory } from '@nestjs/core'; import { AppModule } from
koenau
TravelFeed
4d
Promoted
Dream of flying: The dark tower
A century ago, the first tender shoots of enthusiasm for aviation began to sprout in the small German town Köthen. Count
equaliser
hive
6y
From Steemit to Hive
Image by DuvalLandscapes.com Wow, ok... I am amazed. Yesterday I got back to Steemit and I noticed busy.org doesn't work very well anymore. Also Utopian.io gone offline. 🙄 Well, I was too busy with entering