Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Nest Framework
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Daniel Cavalcante
May 25, 2019
Programming
0
110
Nest Framework
Exemplo de código:
https://github.com/DanielCavalcante/nest-todo
Daniel Cavalcante
May 25, 2019
Tweet
Share
More Decks by Daniel Cavalcante
See All by Daniel Cavalcante
Arquiteturas modulares com Node.JS
danielcdesouza
1
58
React Native e GraphQL na construção de mobile apps
danielcdesouza
0
45
"Go" da Alemanha! Sete passos para começar a desenvolver em Go
danielcdesouza
0
79
Novidades do Ruby on Rails 5
danielcdesouza
0
60
Minerando jóias: como extrair o melhor do Ruby
danielcdesouza
0
55
Nos trilhos do Ruby
danielcdesouza
0
57
Conhecendo o AngularJS
danielcdesouza
1
87
Começando com Ruby on Rails
danielcdesouza
0
96
Apresentação sobre Framework VRaptor
danielcdesouza
0
130
Other Decks in Programming
See All in Programming
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
650
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
CSC307 Lecture 06
javiergs
PRO
0
680
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2k
Oxlint JS plugins
kazupon
1
770
AI時代の認知負荷との向き合い方
optfit
0
150
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
1.1k
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
4
330
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
CSC307 Lecture 03
javiergs
PRO
1
490
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
110
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
Optimizing for Happiness
mojombo
379
71k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Deep Space Network (abreviated)
tonyrice
0
46
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
730
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
88
Odyssey Design
rkendrick25
PRO
1
490
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
170
Design in an AI World
tapps
0
140
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Transcript
Construindo APIs com Nest Framework
None
Daniel Cavalcante @danielcdesouza
O Nest foi criado para resolver o problema de projetos
arquiteturais do Node.js.
Fornecendo aos projetos uma estrutura modular para organizar o código
Vantagens
Injeção de dependência
Injeção de dependência Cada chamada da rota é async
Injeção de dependência Cada chamada da rota é async Middlewares
usam body-parser
Injeção de dependência Cada chamada da rota é async Middlewares
usam body-parser Tem CLI
Injeção de dependência Cada chamada da rota é async Middlewares
usam body-parser Tem CLI Usa DTOs
Injeção de dependência Cada chamada da rota é async Middlewares
usam body-parser Tem CLI Usa DTOs Facilidade de integração com libs que todo projeto precisa
Injeção de dependência Cada chamada da rota é async Middlewares
usam body-parser Tem CLI Usa DTOs Facilidade de integração com libs que todo projeto precisa Open Source
Primeiros passos
$ npm i -g @nest/cli $ nest new my-app
None
$ nest g module users $ nest g controller users
$ nest g component
Show me the code
Obrigado! @danielcdesouza