How do you manage state and data flow between a backend API and a frontend user interface at UC San Francisco?