Register an app at https://developer.spotify.com/dashboard
Clone the repository
cd to src folder and run
dotnet user-secrets init
dotnet user-secrets set "Spotify:ClientId" "YOUR-CLIENT-ID"
dotnet user-secrets set "Spotify:ClientSecret" "YOUR-CLIENT-SECRET"
If done correctly the secrets.json file should look like this
{
"Spotify": {
"ClientId": "YOUR-CLIENT-ID",
"ClientSecret": "YOUR-CLIENT-SECRET"
}
}
then run dotnet run
and navigate to https://localhost:7196/
Spotify color palette (hex):