Node.js: Build and Ship an API
Exit

Lesson 5 of 14 · Servers and APIs

Un serveur HTTP natif avec node:http : routes, codes et en-têtes

1 h Node.js 22 (Debian, git, npm, python3)

This lesson has not been translated yet: it is shown in French.

Objectif

Écrire une petite API de boutique en ligne sans aucune dépendance, avec le seul module node:http, pour comprendre ce que font réellement les frameworks comme Express : recevoir une requête, choisir une route, renvoyer le bon code de statut et les bons en-têtes.

This lesson is part of the full course

Unlock Node.js: Build and Ship an API to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.