Empowering Spotify's collaborative playlists feature
Install dependencies with:
npm install
Define the following environment variables:
SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET
SPOTIFY_REDIRECT_URI
You can create a .env
file in the project root folder in order to define these variables. If you are deploying to a PaaS system you should learn how to define environment variables there.
Start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.