Spotilist is a React application that enables users to customize their music preferences and receive personalized playlists based on their favorite genres and artists. The app integrates with the Spotify API to fetch music-related data.
*UI is inspired from SPotify
The Main component serves as the main entry point for the Spotilist app. It consists of several sub-components, each catering to specific functionalities.
-
Genre Component: Displays a list of music genres retrieved from the Spotify API. Users can select their favorite genres, and it provides visual feedback for the selected genres.
-
Category Component: Fetches music categories from the Spotify API and allows users to select their preferences. It provides a visually appealing interface for users to choose their preferred music categories.
-
Artist Component: Fetches and displays a list of artists based on user preferences. Users can select their favorite artists, and the component provides visual feedback for the selected artists.
-
OAuthPage Component: Handles the Spotify OAuth authentication process, allowing users to log in to their Spotify account.
-
Playlist Component: Fetches playlists recommended for the user based on their selected genres and artists. Displays the recommended playlists with clickable links to open them in Spotify.
- User starts with the Main Component, gets user name and navigates to Genre Component.
- After selecting favorite genres, they navigate to the Category Component.
- In the Category Component, users choose their preferred music categories and proceed to the Artist Component.
- The Artist Component allows users to select their favorite artists and navigate to the OAuthPage Component for Spotify authorization.
- Once authorized, users are directed to the Playlist Component, which displays personalized playlists.
To run the Spotilist app locally:
- Install SSDK and Get Domain & API Token from SurveySparrow to test your development, Know how to setup
ssdk create
in the terminal- Select
your_first_react_app
in the terminal - Clone the repository and replace the files in the template
- Enter
npm i
to install required packages ssdk run
to run the spotilist web application- Navigate to
localhost:30001/custom_configs
to install your SurveySparrow API key for your custom app. - Navigate to
https://yourdomain.surveysparrow.com/settings/marketplace-apps?dev=true
to test your app.
NOTE: Make sure you get your client ID and client secret and replace the CLIENT_ID and CLIENT_SECRET in the js files orelse spotify API won't work
The app integrates with the Spotify API for fetching music-related data. Ensure that you have a Spotify Developer account, and obtain the client ID and client secret for authentication.
Spotilist leverages the SurveySparrow Software Development Kit (SSDK) for React local development. The SSDK incorporates Webpack 5, offering native support for React applications. This tutorial provides a comprehensive guide for implementing React applications using the SSDK.
- React: The main JavaScript library for building user interfaces.
- @sparrowengg/twigs-react: UI components for styling and layout.
- @sparrowengg/twigs-react-icons: Icons for visual elements.
- Spotify API: Used for accessing music genres, categories, artists, and playlists.
- Main


- Category

- Artists

- OAuth


- Playlist

This project is licensed under the MIT License.