I did not change much in the backend except what was required (added /api/ to my routes). So I did not found myself needed to change or change how I approached anything in the backend yet.
When adding books and authors, I used both server-side and client-side validation. I first check client-side validation because it provides immediate feedback. But server-side validation is also important because it ensures that the data is valid before it is saved to the database. So even if client-side validation passes, I double check the server-side.
This is not my first time using React, so I felt relatively comfortable with the basics. However, I did struggle with understanding some of the more advanced concepts, such as hooks and context.
Since I used React before I took CS375, I found it easier to manage state and props compared to the more manual DOM manipulation required in plain JavaScript. I prefer React because it's simpler and more intuitive
I found using types with the front-end to be quite helpful, as they caught several bugs related to incorrect prop types and state management. However, I did struggle at times to type things correctly, especially when dealing with complex data structures. Overall, I think the benefits of using types outweigh the challenges.
Yes, I used LLMs to help me write my code by providing an example for implementing the tag for telling the user to fill in blank input. I wanted to figure out how to display the placeholder text correctly.
Using LLMs made debugging easier but also helped me learn about certain features about React that I ahven't explored yet.