Skip to content

Backend Implementation Reflection

The coolest and most intuitive resource for understanding how to implement the backend was the (tutorial)[https://61040-fa23.github.io/pages/concept-implementations.html] for how to implement concepts linked in A4. I found the guide useful in particular because it thoroughly walked us through the "end-to-end" implementation of concepts from its origins in the ts file, to how it could be parsed for the frontend, how to design urls + RESTful API endpoints. In particular, it was useful to reference it as I looked through the starter code and the Friend and Post concepts.

One challenge or frustration I faced was understanding how to balance responsibilities between the frontend and backend. I didn't know whether to validate/format data in the backend or what edge cases to consider (for example, cascading deletions?). I think further guidance or clarity in what the responsibilities of the backend should be, or examples of such in the starter code would be helpful. I think extending the starter code to capture a wider breadth of scenarios would be useful.

Another challenge I faced was that I couldn't get my feedback for A4 before starting on A5. By the time I began working on A5 I realized there was a lot issues with it that had to be fixed.