{
"userId": "github_user",
"playlists": [
{
"id": "5Z4XPHaCVo3HbXc29s2nL7",
"name": "House hop",
"tracks": [
{
"name": "Consequence",
"album": "The Crusade",
"artists": "TEK.LUN"
},
{
"name": "2018",
"album": "2018",
"artists": "Singularis"
}
]
},
{
"id": "3SwrJFECZ4SxA1RLZWE7fd",
"name": "Poddys",
"tracks": [
{
"name": "Charge Your Battery",
"album": "Awakening OD",
"artists": "Awakening OD"
}
]
}
...
]
}
pnpm install
NOTE: You need to set the following environment variables within a dotenv file svelte & vite :
SPOTIFY_CLIENT_SECRET=
PUBLIC_SPOTIFY_CLIENT_ID=
PUBLIC_SPOTIFY_REDIRECT_URI=
Start local dev server:
pnpm dev
pnpm deploy:dev
Once deployed, leverage wrangler to view the logs within the running cloudfare instance:
pnpm tail:logs