Skip to content

View the tracks and artists you listen most on Spotify and create playlists out of them

License

Notifications You must be signed in to change notification settings

chetas411/playListify-Frontend

Repository files navigation

playListify-Frontend

Badge Badge Badge Badge
This is the frontend part of the the project playListify which is web app using which spotify users can create playlists of the top tracks and top artitst they listen on spotify.
You just need to login through your spotify account and give permission to it. Feel free to try it at: https://playlistifyweb.vercel.app/

Features

  • You can view the tracks and artists you listen most of the time on Spotify.
  • You can also view your recent history of the songs you played.
  • You can click a song to listen a 30 seconds preview of it and to stop the playback just move the cursor out from the song card and if you are on mobile just click outside of the song card to stop playback.
  • You can create playlists of your Top Tracks and Top Artists, for artists it creates a playlist of Top 4 tracks of each artist.

Spotify Web Api

To fetch a users data about the tracks and artist he/she listen most of the time, it uses Spotify Web Api. It is also being used to create playlists and adding tracks.

The following parts of the API were used in this project :

  1. User Profile API
  2. Personalization API
  3. Artists API
  4. Playlists API

Tech Stack

  1. React
  2. Tailwind CSS
  3. Node
  4. Express
    You can checkout the Node and express part in the backend repository here: playLlistify-Backend

Running Locally

You need to have Node installed on your machine.
1. Clone the github respository and install all the dependencies

git clone https://github.com/chetas411/playListify-Frontend.git
cd playlistify-Frontend
npm install

2. Run script for building CSS file from tailwind configuration

npm run build:css

3. You need to have a Spotify Developer Account, if not then you can create one on https://developer.spotify.com/dashboard/. Now follow steps mention in https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app to register a new app

4. Now you require an auth url for that follow instructions in the backend repository docs from here https://github.com/chetas411/playListify-Backend

5. Create a .env file and add the auth url you got from above as a value for the enviornament variable

REACT_APP_SPOTIFY_AUTH_URL=https://example.com

6. Now run the project by running npm start and visit localhost:3000 in browser

Screenshots

Screenshot (3)

Screenshot (4)

Screenshot_20210501-104436_Chrome Screenshot_20210501-104541_Chrome

About

View the tracks and artists you listen most on Spotify and create playlists out of them

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published