Discover what songs you've been listening to the most on Spotify.
-
Follow these instructions to register an app in the Spotify for Developers and get a client ID.
-
Clone the repository:
git clone https://github.com/rbika/spotify-top-songs.git
-
Change directory:
cd spotify-top-songs
-
Create a
.env
file at the root of the project and add the following content:REACT_APP_BASE_URL=http://localhost:3000 REACT_APP_SPOTIFY_CLIENT_ID=your_client_id
-
Install the dependencies:
npm install
-
Run the development server:
npm start
-
App will be running on http://localhost:3000.
- In the Github project's page, go to Settings → Secrets → Add new secret.
- Add the following secrets with their respective values:
SPOTIFY_PROD_CLIENT_ID
SPOTIFY_STAGING_CLIENT_ID