stefanpaduraru / playlist-randomizer

A small React app that makes use of Redux, React Router and Material UI
http://playlist-randomizer.com
48 stars 11 forks source link

Implementation of media key controls #42

Closed EcoFreshKase closed 6 months ago

EcoFreshKase commented 6 months ago

This PR introduces media key controls, addressing requests raised in issues #41 and #34.

I've implemented media key control functionality to allow users to navigate between songs more conveniently. I'm relatively new to React classes. If there are any deviations or improvements needed, please don't hesitate to let me know.

During local setup, I encountered difficulties with the REACT_APP_API_URL and REACT_APP_API_KEY environment variables. I would appreciate it if there would be an example .env file or documentation specifying the required variables. To solve this issue, I copied the values from the live site, although I don't think this is the ideal solution. If there's a preferred approach for handling environment variables in React projects, I'd appreciate any guidance or suggestions. Also some documentation on the required node version would be nice. As I only had v21.0.0 installed but the project requires v12. Should this be added in the README or a CONTRIBUTING file?

Thank you for your review and feedback.