Lesson 6 of 14 · Servers and APIs
Express (1) : application, routes, paramètres, req et res
This lesson has not been translated yet: it is shown in French.
Objectif
Remplacer la forêt de if du serveur natif par Express 5, le framework web le plus utilisé de Node : déclarer des routes lisibles, récupérer paramètres, requête et corps JSON, et répondre en une ligne.
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.