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
95
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
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
210
巨大モノリシックアプリ モダン化大作戦
ktcryomm
0
360
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
1k
自分的「カンファレンスの楽しみ方」
syumai
0
200
AIの中の人になってみる
htkym
0
170
Security issues being discussed on Web Platforms
petamoriken
0
490
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
300
XP祭りでしか伝わらないフリップネタ #xpjug
murabayashi
0
120
不幸な GC
chencmd
0
900
Webの地図
yosuke_furukawa
PRO
4
3.8k
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
190
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
280
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
520
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
520
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
330
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Paper Plane (Part 1)
katiecoart
PRO
1
11k
The agentic SEO stack - context over prompts
schlessera
0
920
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Done Done
chrislema
186
16k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
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