MusicApp is a web application that allows users to register, log in, and manage their music preferences. It integrates with Spotify and Google for authentication and provides a personalized music experience based on user preferences. Crescendo takes your spotify playlist and makes it completely offline to avoid adds and give a seemless listening experience.
- User registration and login
- Google OAuth login
- Spotify API integration
- User profile management
- Music preference selection
- Sptify playlist download
- Middleware for login requirement
-
Clone the repository:
git clone https://github.com/RETR0-OS/MusicApp.git cd MusicApp
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Obtain Spotify Developer Client ID, and Client secret for Spotify link and replace the following lines in settings.py:
CLIENT_ID = "Spotify client ID here" CLIENT_SECRET = "Spotify Client Secret here"
-
Obtain Google Developer Client ID, and Client secret for OAuth authorization and replace the following lines in settings.py:
GOOGLE_CLIENT_ID = "Google client ID here" GOOGLE_CLIENT_SECRET = 'Google client secret here'
-
Create a secure secret key for the project and replace this line in settings.py:
SECRET_KEY = "Your secret key here"
-
Set up the database:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Open your browser and navigate to
http://localhost:8000
to access the application.
This project is licensed under the MIT License. See the LICENSE
file for more details.