🎧 Fifty List v2 [React.js-Python]

🎧 Fifty List v2 [React.js-Python]

This project is a fullstack music automation platform and showcases a seamless integration of React and Python.

Key Features:

Frontend (React.js)
  • Spotify Integration: Fetches your top 50 tracks from Spotify within a chosen timeframe (1, 6 months, or all-time classics).
  • Export To Playlist (Results): Automatically generates a new playlist on your Spotify account with these 50 tracks.
  • Export To Playlist (Recommendations): Based on your top 50 listened songs, our recommendation engine suggests an additional 20 songs to add to your playlists.
Backend (Python)
  • Flask-Powered: Acts as a middleware that interfaces with React.
  • Fifty Card: Organizes retrieved tracks dynamically into a static brand new website in order to provide sharing functionality to social media or for accessing later, including artist names, song titles, album names, release dates, and genres.

About the Project

FiftyList is an exploratory project diving deep into the collaboration of different programming languages and APIs. It is designed to:

  • Demonstrate Seamless Communication: Showcases smooth communication between the frontend and backend using API calls.
  • Emphasize Language Synergy: Highlights the synergy between React’s frontend prowess and Python’s backend efficiency.
  • Data Presentation Challenge: Ensures that complex data is rendered in a user-friendly format and transmitted effectively between systems.

How it works?:

Installation and Usage:

For Frontend Installation:
  1. Clone this project.
git clone https://github.com/imprvhub/fiftylist-react-v2.git
  1. Navigate to the project directory (in your terminal IDE).
cd /your/folder/directory/fiftylist-react-v2
  1. Run the following command to install all required dependecies.
npm install
  1. Replace the environment variables (REACT_APP_SCOPES, REACT_APP_REDIRECT_URI, REACT_APP_CLIENT_SECRET, REACT_APP_CLIENT_ID) with your own. You can generate these variables from Spotify Developer Dashboard.
  2. Replace the variable defined at the beginning of the code in App.js: const redirectUri = 'https://fiftylist.vercel.app/callback'; with -> const redirectUri = "http://localhost:3000/callback"; Update the URLs in the variables of the exportShare function from 'https://fiftylistbackend.vercel.app/share' to 'http://localhost:5000/share' if your Python backend is using a different port.
  3. Run the following command from your terminal IDE; this should start the frontend on the designated port.
npm start
For Backend Installation:
Prerequisites:

Python 3.11

  1. Clone the project. ( https://github.com/imprvhub/fiftylist-python-v2 )
git clone https://github.com/imprvhub/fiftylist-python-v2.git

1.2 Navigate to the project directory (in your terminal IDE).

cd /your/folder/directory/fiftylist-python-v2
  1. Run the following command to install all required dependecies.
pip install -r requirements.txt
  1. Replace the variable defined at the beginning of the share.py code: cors = CORS(app, resources={r"/share": {"origins": "https://fiftylist-frontend.vercel.app/"}}) with -> cors = CORS(app, resources={r"/share": {"origins": "http://localhost:3000/"}}) (or the port you designated for your frontend).
  2. Run python3 share.py.

IMPORTANT: Open two separate windows in your IDE to run the fullstack locally. Execute the commands to have both projects running simultaneously for them to work seamlessly.

Feedback & Support:

Your input matters, and I’m ready to help address any inquiries or feedback you may have. Your contributions are essential for refining the project and enhancing the overall user experience. Don’t hesitate to get in touch with me:

Feel free to share your insights, recommendations, or suggestions for continuous improvement. If you encounter any challenges or require assistance, please create a new GitHub issue. Be sure to provide a detailed description of your issue to facilitate prompt and precise support.

License:

For more information regarding this topic please read the following Terms and Conditions.



Share :

Related Projects



✨ AnalyzeMyDream [Astro.js - FastAPI]

✨ AnalyzeMyDream [Astro.js - FastAPI]

AnalyzeMyDream is an innovative platform built using Astro.js, offering AI-powered dream interpretation to help users gain deeper insights into their dreams. The platform integrates seamlessly with FastAPI, Flask, and advanced AI models, providing quick and detailed analyses. Subscription-based pla

read more



🎬 Cinemathe [Vue.js - Django Rest Framework]

🎬 Cinemathe [Vue.js - Django Rest Framework]

A full-stack web app developed with Vue.js and Django Rest Framework, that simplifies entertainment choices. It provides seamless authentication for saving favorites, detailed technical info for movies and TV series with reviews included, and social media content sharing.

read more



⚡️BoltURL [Python - Flask]

⚡️BoltURL [Python - Flask]

This Link Shortener web app showcases how Python can do anything. Using Python (Flask Framework) with PostgreSQL (Supabase).

read more



📈 E-commerce Data Analysis [Next.js - Python]

📈 E-commerce Data Analysis [Next.js - Python]

This implementation showcases and provides a comprehensive analysis of e-commerce data from two different Next.js projects. Using Python (Flask Framework) with GUnicorn and Azure Deployment.

read more