DEV Community

Jessé
Jessé

Posted on • Edited on

Back-end com Node.js

Node.js
NPM e YARN
Frameworks

O Node.js é:

  • Uma plataforma;
  • Criada em cima do V8;
  • Comparável à PHP / Ruby / Python;
  • Arquitetura Event-loop
    • Baseada em eventos (Rotas na maiorias das vezes);
    • Call Stack
  • Node single-thread
    • C++ por trás com libuv;
    • Background threads;
  • Non-blocking I/O;
  • Faz o controle de rotas e integrações;

Call Stack
Call Stack é uma estrutura de dados de Pilha, então a primeira que entrou será a última a ser processada.
Last In First Out (LIFO);

NPM e YARN são:

  • Gerenciadores de bibliotecas;
  • Servem criar, disponibilizar e instalar bibliotecas. Tanto de terceiros, quanto as suas, caso tenha criado alguma;
  • Yarn é mais rápido que NPM.
  • Comparável com:
    • Composer do PHP;
    • Gems do Ruby;
    • PIP do Python;

Frameworks:

  • ExpressJS
    • Sem opinião: Não tem uma estrutura fechada;
    • Ótimo para iniciar;
    • Micro-serviços;
  • Outras opções:

Quadratic AI

Quadratic AI – The Spreadsheet with AI, Code, and Connections

  • AI-Powered Insights: Ask questions in plain English and get instant visualizations
  • Multi-Language Support: Seamlessly switch between Python, SQL, and JavaScript in one workspace
  • Zero Setup Required: Connect to databases or drag-and-drop files straight from your browser
  • Live Collaboration: Work together in real-time, no matter where your team is located
  • Beyond Formulas: Tackle complex analysis that traditional spreadsheets can't handle

Get started for free.

Watch The Demo 📊✨

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

DEV is better (more customized, reading settings like dark mode etc) when you're signed in!

Okay