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
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
43
"Go" da Alemanha! Sete passos para começar a desenvolver em Go
danielcdesouza
0
77
Novidades do Ruby on Rails 5
danielcdesouza
0
58
Minerando jóias: como extrair o melhor do Ruby
danielcdesouza
0
54
Nos trilhos do Ruby
danielcdesouza
0
55
Conhecendo o AngularJS
danielcdesouza
1
85
Começando com Ruby on Rails
danielcdesouza
0
95
Apresentação sobre Framework VRaptor
danielcdesouza
0
130
Other Decks in Programming
See All in Programming
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
1.1k
Devoxx BE - Local Development in the AI Era
kdubois
0
130
チームの境界をブチ抜いていけ
tokai235
0
210
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
6
2.9k
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
320
タスクの特性や不確実性に応じた最適な作業スタイルの選択(ペアプロ・モブプロ・ソロプロ)と実践 / Optimal Work Style Selection: Pair, Mob, or Solo Programming.
honyanya
3
190
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
250
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
440
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
400
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
140
品質ワークショップをやってみた
nealle
0
600
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
A designer walks into a library…
pauljervisheath
209
24k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
4 Signs Your Business is Dying
shpigford
185
22k
Context Engineering - Making Every Token Count
addyosmani
7
290
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
Making Projects Easy
brettharned
120
6.4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Embracing the Ebb and Flow
colly
88
4.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Git: the NoSQL Database
bkeepers
PRO
431
66k
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