π The client-server split
The client (browser or mobile app) renders UI and reacts to the user; the server owns the real data and the rules for changing it. A client should never be trusted to enforce a business rule on its own β it can be bypassed entirely by anyone calling the API directly.