Ir para o conteúdo principal
Academia
Intermediário Distrito do código

Node.js

JavaScript no servidor.

Node.js runs JavaScript outside the browser: on servers, in command-line tools and in the build tools you use every day. This track takes you from your first node command to a tested, secure JSON API: modern ES modules and npm, the event loop and worker threads, files and streams, HTTP servers with node:http and Express 5, validation, errors and logging, the built-in test runner, TypeScript with no build step, and deployment.

You already know JavaScript. Here you learn to run it where the data lives.

Lições
21
Tempo
3 h
Nível
Intermediário

Por enquanto, as lições desta trilha estão em inglês.

  • Bronze disponível
  • Prata disponível
  • Ouro bloqueada

Hora de provar?

Três exames esperam por você: Bronze, Prata e Ouro.

Ir para os exames

O que você vai saber fazer

  • Set up modern projects with ES modules, npm scripts and Node's built-in modules
  • Explain the event loop and keep it free with async I/O and worker threads
  • Read, write and stream files safely, even huge ones
  • Build a REST JSON API with Express 5, validation and central error handling
  • Test with node:test, run TypeScript directly and ship to production with Docker

A jornada

  1. 1
    Módulo 1

    Node.js basics

    What Node is, ES modules, built-in modules, npm and scripts.

    0 / 4
  2. 2
    Módulo 2

    The event loop

    How one thread serves thousands, worker threads and EventEmitter.

    0 / 3
  3. 3
    Módulo 3

    Files and streams

    Read and write files, build safe paths and stream big data.

    0 / 3
  4. 4
    Módulo 4

    HTTP servers

    Build servers with node:http, then with Express 5.

    0 / 3
  5. 5
    Módulo 5

    A real JSON API

    REST routes, validation, errors, logs and a leaderboard.

    0 / 4
  6. 6
    Módulo 6

    Ready for production

    Tests, TypeScript, configuration, security headers and Docker.

    0 / 4

Navegação rápida