Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 536 Bytes

modulo-1-node.md

File metadata and controls

30 lines (20 loc) · 536 Bytes

Conceitos do NodeJS

-> JS backend

  • Not a language, but a plataform

NPM/YARN

  • Package manager
  • Use yarn for better speeds
  • Works like php's composer

Caracteristics

  • Based on events
  • Works with call stack (function call loops)
  • Single thread
  • Non-blocking I/O (create real time apps)

Frameworks -> ExpressJS

  • Has less 'opinion'
  • Allows to build more flexible apps
  • Micro-services

API REST concepts

  • Requests and responses
  • Not MVC
  • Allows being used by multiple clients (react, rn, etc)