Welcome to the Spotify Dashboard project! This application provides a comprehensive dashboard for managing and visualizing your Spotify account's listening data. The backend is built using Node and Prisma, while the frontend is built using Next.js and TailwindCSS.
- Profile Overview: Get an overview of your Spotify profile information.
- Top Tracks and Artists: View your most played tracks and artists.
- Listening History: Explore your recent listening history with intuitive visuals.
- Search: Search for tracks, albums, and artists on Spotify.
Important
Do not set your domain to contain the word spotify
. This will most likely get your domain flagged as a phishing site by Google & others.
- Go to https://developer.spotify.com/dashboard/ and create a new application.
- Add
http://localhost:3000/api/auth/callback/spotify
as a redirect URI. - Add
<Your_Domain>/api/auth/callback/spotify
as a redirect URI.
- Add
- Run the image with the following command:
docker run -d \
--publish 3000:3000 \
--env SPOTIFY_CLIENT_ID=<CLIENT_ID> \
--env SPOTIFY_CLIENT_SECRET=<CLIENT_SECRET> \
--env JWT_TOKEN_SECRET=<Generated 64 character string> \
--env DATABASE_URL=<PostgreSQL connection string> \
--env PUBLIC_URL=<Your_Domain> \
--name spotify-dashboard \
ghcr.io/behnh/spotify-dashboard:latest
Note
The following instructions are, at this time, incomplete while I refactor the dev environment setup.
- Node.js (v20.x)
- PostgreSQL (v12.x)
- Spotify Developer credentials
- Go to https://developer.spotify.com/dashboard/ and create a new application.
- Add
http://localhost:3000/api/auth/callback/spotify
as a redirect URI - Copy the Client ID and Client Secret
- Create a
.env
file in thebackend/
directory of the project