CS257 Software Design Friday, 4 November 2022 + API design principles - The entities involved - user (a human being) - browser (giant software application) - Javascript code (running inside the browser tab) - Server (written in Python using Flask) The API is the language used to allow the JS code to talk to the Server - HTTP's GET as a request for a resource - Endpoints as nouns - Required input in URL components - Optional input in GET parameters + Try these things - Run my web apps - Get the latest copy of my repo - Look in webapps/ - Read the readme - Try running and exploring app1, app2, and app3 - Create a web page that - has a dropdown list with some colors (red, green, blue,...) - when the user selects a color, the page's background color changes to that color Feel free to take chunks of this from my html-samples and javascript-samples