A Spotify visualizer built with spotify-viz and Vue.
Run Locally
- Create a new Spotify app in your Spotify Developer Dashboard.
- Add
http://localhost:8001/callback
to your app's Redirect URIs. Note your app'sClient ID
andClient Secret
. - Create a file named
.env
in the project's root directory with the following values:
CLIENT_ID=YOUR_CLIENT_ID_HERE
CLIENT_SECRET=YOUR_CLIENT_SECRET_HERE
REDIRECT_URI=http://localhost:8001/callback
PROJECT_ROOT=http://localhost:8001
NODE_ENV=development
- Install using NPM.
npm i
- Serve project.
npm run serve
- Visit
http://localhost:8080
and log in with your Spotify account. - Play a song in your Spotify client of choice. The visualizer will take a moment to sync before initializing.
Build & Serve (Production)
- Follow steps
1
through4
above. - In your
.env
file, setNODE_ENV
toproduction
. - Start project using NPM.
npm run start