Lecture 1: frontend, backend and the request-response cycle
Client (frontend)
Browser: HTML, CSS, JS
Restaurant: dining area
Server (backend)
Python + Flask
Restaurant: kitchen
Database
Stores the data
Restaurant: pantry
1 request
2 query
3 data
4 response
Request-response cycle: the client asks, the server prepares, the database supplies.
Flask is the framework that decides how the server part is structured.