A random album/playlist selector for Spotify. View the deployed version.
-
Create a Spotify app and obtain a Spotify Client ID.
-
Add the following redirect URI. If you're going to deploy the app, do add URIs for your app’s domain as well.
http://127.0.0.1:5173/callback -
Install dependencies:
npm i
-
Add the Spotify client ID to
.env.local:VITE_SPOTIFY_CLIENT_ID="<CLIENT_ID>" -
Start up a dev server using:
npm start
-
For deployments, build a static version using:
npm build