Skip to content

Lettly/YourMusic

Repository files navigation

yourMusic

Request a song with Spotify API

Requirements

For setup the project, you need to create a spotify applications in your developer dashboard.

https://developers.spotify.com/dashboard

Configurations

To setup your account, go to docker-compose.yml and add your spotify app configurations like:
  • client ID
  • Client Secret
  • Link your domain callback url

NB: In you spotify dashboard, go to app settings and add callback.php url in Redirect URIs.

After this, you need to go to auth.php via browser and connect your spotify account

Start

To start the project, you need to run the command:
chmod 777 api/v1/data
docker-compose up -d

Enjoy!