CSC207-fiveguys / music-java-app

MIT License
1 stars 1 forks source link

AddFriend Service #29

Closed umututku03 closed 11 months ago

umututku03 commented 11 months ago

Motivation and Context

To enhance social interactions in our music app, we're implementing a feature allowing users to add friends. This action not only updates their followed friends list but also integrates all playlists from the newly added friend. This feature aims to facilitate seamless music discovery and sharing among users.

Your Changes

I've revamped the code in the add_friend module to align with Clean Architecture and SOLID Design Principles. The modifications focus on isolating all components related to this use case, ensuring a clear structure. By adhering to the Dependency Inversion Principle, our code now relies on abstractions rather than high-level modules, promoting flexibility and maintainability.

Description:

Following the update, our database and View States for the user library and followed friends are now synchronized with the specified changes. The friend is seamlessly integrated into the followed friends collection, reflecting updates in both the data access object and the view state. Additionally, the playlists from the friend have been incorporated into the user's library, ensuring consistency in both the data access object and the view state.

Type of change (select all that apply):

Testing

I conducted a comprehensive self-review of the code, addressing both back-end and front-end considerations. Notably, I've incorporated unit tests to validate the functionality of the code's back-end. In terms of front-end aspects, I ensured adherence to expected specifications through thorough checks. This dual-focused review aims to enhance the overall robustness and reliability of the codebase.

Questions and Comments (if applicable)

N/A

Checklist

ibrahimmmalik commented 11 months ago