DEV Community

Gabriel Valin
Gabriel Valin

Posted on


API Rest - a little bit..

Application Programming Interface

  • Group of possible specifications about interactions at applications.
  • Documentation (example: Swagger)

REST: Representation State Transfer

  • Architecture Shape

6 rules for REST

  • Client-Server
  • Stateless
  • Cache
  • Uniform Interface
  • Layers
    • Charger Balanced (example)
  • Code on Demand

Top comments (0)

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.