Search⌘ K
AI Features

The Client-server Model

Understand how client-server communication works by exploring the client-server model used in web development. Learn how servers provide data through APIs, enabling diverse clients like web apps and smart devices to display information. This lesson lays the foundation for consuming APIs within an Angular application.

Client-server communication

To begin, we’ll implement a client-server model for our application. The client-server model is quite popular because of the variety of clients (devices) that we use every day to access the internet. Keeping in mind the technologies we discussed earlier, our client-server model can be separated like this:

Server: ...

Client: ...