This is a Python-based full-stack web application that integrates with the Spotify Web API to create music playlists based on user input. The application uses Flask as the web framework and has a responsive front end created with HTML, CSS, and JavaScript.
To run this application, you'll need to set up Spotify API credentials and install the required Python packages.
- Create a Spotify developer account and register a new app.
- Set the redirect URI to
http://localhost:5000/callback
. - Copy the client ID and client secret to the environment variables
SPOTIFY_CLIENT_ID
andSPOTIFY_CLIENT_SECRET
respectively. - Install the required Python packages by running
pip install -r requirements.txt
. - Run the application by executing
python app.py
.
- Open the application in your browser at
http://localhost:5000
. - Enter a song name or a descriptive text in the input field.
- Click the "Create Playlist" button to generate a playlist.
This application is a proof-of-concept and not intended for production use. If you'd like to contribute, please feel free to fork the repository and submit a pull request.
This application is licensed under the MIT License.