Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Nest Framework
Search
Daniel Cavalcante
May 25, 2019
Programming
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Nest Framework
Exemplo de código:
https://github.com/DanielCavalcante/nest-todo
Daniel Cavalcante
May 25, 2019
More Decks by Daniel Cavalcante
See All by Daniel Cavalcante
Arquiteturas modulares com Node.JS
danielcdesouza
1
81
React Native e GraphQL na construção de mobile apps
danielcdesouza
0
65
"Go" da Alemanha! Sete passos para começar a desenvolver em Go
danielcdesouza
0
96
Novidades do Ruby on Rails 5
danielcdesouza
0
65
Minerando jóias: como extrair o melhor do Ruby
danielcdesouza
0
61
Nos trilhos do Ruby
danielcdesouza
0
63
Conhecendo o AngularJS
danielcdesouza
1
91
Começando com Ruby on Rails
danielcdesouza
0
100
Apresentação sobre Framework VRaptor
danielcdesouza
0
140
Other Decks in Programming
See All in Programming
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
500
ジョジョの世界をXRで再現する
mofurune
0
160
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
R8 の設定見直しでアプリサイズ削減
andpad
0
220
残高管理から台帳サービスへの進化
artoy
1
200
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
170
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
190
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Featured
See All Featured
For a Future-Friendly Web
brad_frost
184
10k
The Invisible Side of Design
smashingmag
301
52k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
How GitHub (no longer) Works
holman
316
150k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
58k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
940
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Build your cross-platform service in a week with App Engine
jlugia
234
19k
The untapped power of vector embeddings
frankvandijk
2
1.9k
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