Spotify Stats is a Svelte web application that uses Spotify's Web API. It allows users to get an overview of their most played tracks and artists on Spotify, as well as receive a list of recommended tracks based on their listening habits.
This application was created using create-svelte
.
Make sure you have Node.js installed. You can download it from nodejs.org.
To get a local copy of this project up and running, follow these steps:
git clone https://github.com/sabinewst/spotify-stats.git
cd spotify-stats
npm install
Create a Spotify Developer Application on the Spotify Developer Dashboard.
Configure your environment variables by creating a .env
file in the project root directory. Add your Spotify client ID and the redirect URI (most likely http://localhost:5173
).
CLIENT_ID=""
REDIRECT_URI=""
npm run dev
http://localhost:5173
to see the app in action.