WK2: CST438 - Software Engineering
WK02: Weekly Reflection This week, we focused on developing the frontend of our customer order application using React. After working with Java and Spring Boot to create the backend in previous labs, it was interesting to see how the frontend connects to the REST API. The material reminded me of what we learned about Express in the Internet Programming course (CST336). Many concepts and approaches felt familiar, especially routing, handling HTTP requests, and working with JavaScript. The syntax and some implementation details are different, but the overall approach to building a web application is very similar. One of the main topics this week was React components and hooks. We learned how to divide an application into reusable components and use hooks such as useState, useEffect, and useRef. I found useState particularly useful because it allows React to automatically update the interface when data changes. We also used React Router to organize the application into multiple pages with...