Skip to content

The Client Server Model

Ann 杏 Kilzer edited this page Nov 18, 2021 · 3 revisions

Your React application may be part of a larger architecture, including data from other machines. It's helpful to understand how websites work.

... introducing ...

The Client Server Model

Websites consist of "Client" code running on a user's web browser (HTML, CSS, JavaScript, React, etc) and "Server" code running on a remote computer, on the internet or across a network. They communicate using HyperText Transfer Protocol, aka HTTP.

     frontend                   ☁️ internet ☁️                       backend
 +------------------+                                          +------------+  
 | Your React code  | < ==== (        HTTP       ) ======= >   | API        |
 | (Client )        |                                          | (Server)   |
 +------------------+                                          +------------+

In our study session we are mainly focused on the Frontend, but depending on what you are building, you may need to understand how to retrieve things from a backend.

Read more:

Tools for working with APIs: