Intermediate2 h 5Free
Building a web API with Node.js
Move to the other side of the web: the server's. You understand what an HTTP request and response contain, you write a server with Node.js and a router, then you build a REST API that reads, creates, updates and deletes JSON data. You learn to validate input and protect your routes, and you finish with a club's registration API, covered by tests.
Start the course
0 / 7 chapters completed
What you'll be able to do
- Describe an HTTP request and response: method, path, headers, body, status code
- Write an HTTP server with Node.js and separate routing from logic
- Design a REST API that handles resources in JSON
- Validate incoming data and return clear errors
- Protect routes with a token and test an API
Course outline
Part 1 · HTTP on the server side