Backend with Node.js
🔌 Backend, HTTP and handlers
How a server responds to requests: HTTP, Express handlers (req, res) and REST routes.
What you'll learn
- Distinguish the HTTP methods (
GET,POST,PUT,DELETE) and respond with the correct status code (200,201,400,404) - Implement Express handlers
(req, res)readingparams,queryandbody - Respond with
res.json(),res.status()andres.send() - Define routes with dynamic parameters (
:id) following the REST style
Lessons
The backend and HTTPServer, request and response. Express: handlers (req, res)The function that responds to a request. Routes, parameters and RESTIdentify resources and read data from the request.Practice this module in the app
DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.
Start free in the app →