rtkg12 / remixr

Discover new music based on the Spotify playlists you know and love!
https://www.remixr.ml
MIT License
61 stars 30 forks source link

Feature: Like/save songs to Spotify Library #2

Open rtkg12 opened 4 years ago

rtkg12 commented 4 years ago

Add a like button to each song in the results page which would allow users to directly save songs to their library without saving the entire playlist.

ashikvarma11 commented 4 years ago

@rtkg12 I would like to work on this issue. Please guide me through the process. I'm a beginner.

rtkg12 commented 4 years ago

@ashikvarma11 Thanks for taking up this issue. This one should be pretty straightforward and would mostly require work on the frontend in React.

To get started, I would recommend that you look at the Results and SongList components. You could add a button to each song entry to like/save the song to the user's Spotify library. This should only show up if the user is logged in. You could also prompt the user to log in if they haven't already, there should be a method to do that which is already implemented. I can point you in that direction once you have the first part done. After a user likes a particular song, just call the relevant endpoint in the Spotify API with the user's access_token.

Please go ahead and assign yourself to this issue whenever you start working on it. Let me know if you need anything else and I'd be happy to help out.

ashikvarma11 commented 4 years ago

@rtkg12 Could you assign the task to me? I believe only Collaborators can assign issues.

ashikvarma11 commented 4 years ago

Thanks

ashikvarma11 commented 4 years ago

@rtkg12 I have implemented the feature for like/save tracks. Please guide me through how we can invoke user-login checks. I'll create a PR for reviewing the code.

BaluDeshamoni commented 1 year ago

Is the issue still open. can I work on the issue.

HarshithaSivalingala commented 1 year ago

Is the issue still open . I am willing to work on it.