SlideShare a Scribd company logo
Create API's Node.js with
TypeScript
Thiago da Silva Adriano
Project
Packages
Dependencies
▷ Body-parser
▷ http-status
▷ Express
▷ JWT
▷ Mongoose
▷ Morgan
▷ Multer
▷ Nodemon
https://github.com/programadriano/ts-api-generator
“
Band   criando api nodejs com type script
Structure
APPServer
Controller
Repository
Schema
Config
DIST
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"outDir": "dist",
"typeRoots":
["../node_modules/@types"],
"types": ["node"]
},
"include": ["server/**/*.ts",
"server/*.ts"],
"exclude": ["node_modules"],
"buildOnSave": true,
"compileOnSave": true
}
Node.js
Band   criando api nodejs com type script
Band   criando api nodejs com type script
TypeScript
What is
TypeScript?
• TypeScript is a typed superset of JavaScript
that
compiles to plain JavaScript
• Any browser. Any host. Any OS
• Any valid JavaScript is valid Typescript
How Can I install
TypeScript?
> npm install -g typescript
Anders Hejlsberg
How Does TypeScript
Works?
Transpiling
TypeScript
server.ts
JavaScript
server.js
TypeScript Compiler
“Transpiling”
Band   criando api nodejs com type script
TypeScrip
t
ES201
6
ES201
5 ES5
tsconfig.json
Porque TypeScript com Node?
Band   criando api nodejs com type script
Band   criando api nodejs com type script
Show me the code {
}
Band   criando api nodejs com type script
“
Social Media
/tadriano-net @programadriano
@programadriano /perfil/thiagoadriano/
@programadriano /space/thiago-da-silva-adriano-2

More Related Content

KEY
Node workShop Basic
PDF
(WS14) Sasa Matijasic - Node.js i "novi" web
PDF
Create a RESTful API with NodeJS, Express and MongoDB
PPTX
Redis fundamental
PDF
Let s Enjoy Node.js
PDF
Quick Introduction to Node.js
PPT
Nodejs quick start
Node workShop Basic
(WS14) Sasa Matijasic - Node.js i "novi" web
Create a RESTful API with NodeJS, Express and MongoDB
Redis fundamental
Let s Enjoy Node.js
Quick Introduction to Node.js
Nodejs quick start

What's hot (20)

PPTX
AKS: Keep your Devs close and your OpsSec closer…
PPTX
Future of NodeJS
PDF
GruntJS + Wordpress
PPTX
Diving into Node with Express and Mongo
PPTX
NodeJS
PPTX
Rails with MongoDB - RORLab 47th
KEY
Building HTTP API's with NodeJS and MongoDB
PPTX
Introduction to node js
PDF
Ruby on Windows (uru/RubyInstaller/Devkit)
PPTX
Running Node Applications on iOS and Android
PPTX
Herramientas front
PDF
SF Grails - Ratpack - Compact Groovy Webapps - James Williams
PDF
ModemFrontEndops
PDF
最近 node.js 來勢洶洶, 怎麼辦? 別怕, 我們也有秘密武器 RingoJS!
KEY
nodecalgary1
PDF
Devcast node.js e mongo db o casamento perfeito
PDF
Web technologies for desktop development
PDF
MTDDC Tokyo 2011
PDF
containers-intro
PDF
Introduction to REST API with Node.js
AKS: Keep your Devs close and your OpsSec closer…
Future of NodeJS
GruntJS + Wordpress
Diving into Node with Express and Mongo
NodeJS
Rails with MongoDB - RORLab 47th
Building HTTP API's with NodeJS and MongoDB
Introduction to node js
Ruby on Windows (uru/RubyInstaller/Devkit)
Running Node Applications on iOS and Android
Herramientas front
SF Grails - Ratpack - Compact Groovy Webapps - James Williams
ModemFrontEndops
最近 node.js 來勢洶洶, 怎麼辦? 別怕, 我們也有秘密武器 RingoJS!
nodecalgary1
Devcast node.js e mongo db o casamento perfeito
Web technologies for desktop development
MTDDC Tokyo 2011
containers-intro
Introduction to REST API with Node.js
Ad

Similar to Band criando api nodejs com type script (20)

PPTX
Criando API Nodejs com TypeScript
PPTX
Type script
PDF
Building End-to-End Apps Using Typescript
PDF
Type script
PDF
Introduction to TypeScript
PPTX
TypeScript Introduction
PDF
Typescript for the programmers who like javascript
PPTX
PDF
TYPESCRIPT-ARCHI.pdfbsjjsjsjsjjsjjsjsjjs
PPTX
TypeScript: Basic Features and Compilation Guide
PDF
Using type script to build better apps
PDF
Using type script to build better apps
PPTX
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
PDF
End to-end apps with type script
PPTX
Node ts1
PDF
TypeScript introduction to scalable javascript application
PDF
TypeScript - An Introduction
PDF
End-to-End SPA Development using TypeScript
PDF
Reasons to Use Typescript for Your Next Project Over Javascript.pdf
PPTX
TypeScript With Node And Express
Criando API Nodejs com TypeScript
Type script
Building End-to-End Apps Using Typescript
Type script
Introduction to TypeScript
TypeScript Introduction
Typescript for the programmers who like javascript
TYPESCRIPT-ARCHI.pdfbsjjsjsjsjjsjjsjsjjs
TypeScript: Basic Features and Compilation Guide
Using type script to build better apps
Using type script to build better apps
Unit 1 - TypeScript & Introduction to Angular CLI.pptx
End to-end apps with type script
Node ts1
TypeScript introduction to scalable javascript application
TypeScript - An Introduction
End-to-End SPA Development using TypeScript
Reasons to Use Typescript for Your Next Project Over Javascript.pdf
TypeScript With Node And Express
Ad

More from MVP Microsoft (20)

PPTX
Resiliencia em APIs
PPTX
Introducao ao GraphQL
PPTX
Tdc 2020 Floripa
PPTX
Angular DevOps
PPTX
TypeScript + Node.js + cosmos db
PPTX
Desenvolvimento de games com C# e Unity
PPTX
GraphQL com .NET Core
PPTX
Novidades do TypeScript
PPTX
Novidades do TypeScript para desenvolvedores Angular
PPTX
7 masters
PPTX
TypeScript 3.4
PPTX
Xamarim + api
PPTX
Desenvolvendo games de realidade virtual com C# utilizando o Unity
PPTX
Mackenzie - TypeScript
PPTX
Typescript no fronte no back com Docker
PPTX
Angular + asp.net core + docker na nuvem
PPTX
JavaScript na nuvem node + angular + microsoft azure
PPTX
Vs code + node + angular + azure app service
PPTX
Xamarin + node.js
PPTX
TypeScript no Back-end e no Front-end
Resiliencia em APIs
Introducao ao GraphQL
Tdc 2020 Floripa
Angular DevOps
TypeScript + Node.js + cosmos db
Desenvolvimento de games com C# e Unity
GraphQL com .NET Core
Novidades do TypeScript
Novidades do TypeScript para desenvolvedores Angular
7 masters
TypeScript 3.4
Xamarim + api
Desenvolvendo games de realidade virtual com C# utilizando o Unity
Mackenzie - TypeScript
Typescript no fronte no back com Docker
Angular + asp.net core + docker na nuvem
JavaScript na nuvem node + angular + microsoft azure
Vs code + node + angular + azure app service
Xamarin + node.js
TypeScript no Back-end e no Front-end

Recently uploaded (20)

PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
PDF
Cloud-Scale Log Monitoring _ Datadog.pdf
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PPT
tcp ip networks nd ip layering assotred slides
PDF
The Internet -By the Numbers, Sri Lanka Edition
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
Triggering QUIC, presented by Geoff Huston at IETF 123
PPTX
innovation process that make everything different.pptx
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
PPTX
international classification of diseases ICD-10 review PPT.pptx
PDF
RPKI Status Update, presented by Makito Lay at IDNOG 10
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PPTX
INTERNET------BASICS-------UPDATED PPT PRESENTATION
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
An introduction to the IFRS (ISSB) Stndards.pdf
SASE Traffic Flow - ZTNA Connector-1.pdf
Module 1 - Cyber Law and Ethics 101.pptx
Best Practices for Testing and Debugging Shopify Third-Party API Integrations...
Cloud-Scale Log Monitoring _ Datadog.pdf
Tenda Login Guide: Access Your Router in 5 Easy Steps
introduction about ICD -10 & ICD-11 ppt.pptx
tcp ip networks nd ip layering assotred slides
The Internet -By the Numbers, Sri Lanka Edition
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
Triggering QUIC, presented by Geoff Huston at IETF 123
innovation process that make everything different.pptx
QR Codes Qr codecodecodecodecocodedecodecode
international classification of diseases ICD-10 review PPT.pptx
RPKI Status Update, presented by Makito Lay at IDNOG 10
Introuction about WHO-FIC in ICD-10.pptx
INTERNET------BASICS-------UPDATED PPT PRESENTATION
Design_with_Watersergyerge45hrbgre4top (1).ppt
Slides PPTX World Game (s) Eco Economic Epochs.pptx
The New Creative Director: How AI Tools for Social Media Content Creation Are...

Band criando api nodejs com type script