Node.js beginner 15 min

Client-Server Architecture

Learn about Client-Server Architecture in Node.js.

Client-Server Architecture

The client-server architecture is a model where the client requests services and the server provides them. The client is the frontend, and the server is the backend. They communicate over the internet using HTTP.

Diagram

Client (Browser) --HTTP Request--> Server (Node.js) --Database Query--> Database --Response--> Client

Practice

Draw the client-server flow for a YouTube video search.