- Details of a user's playlist is received
- A song from this playlist will be chosen when an alarm is set by the user
- Depending on the tags given by the user, and the song specifics like acousticness, danceability, instrumentalness etc., a song from the playlist is chosen using machine learning
- The song is then returned to the user, and an alarm is registered on the phone
- Docker
- Python packages (to be installed inside of a docker image)
- spotipy
- setuptools-rust
- snips-nlu
- fastapi
- pydantic
- numpy
- pandas
- pyyaml
- uvicorn
- xgboost
- sklearn
Install Docker on your system by following the guide given on the official docker website. Once docker has been installed, clone this repository
git clone https://github.com/GDGVIT/cadence-backend.git
Once you've cloned the repository, you can create a docker image using the following command (inside of the repository)
docker build . --tag cadence
Once the image is created, create a container using the following command
docker run -d -p 8000:80 cadence
This will host the API on localhost, port 8000. This can now be port forwarded using software like nginx or apache for it to be available across the internet.
Anish Raghavendra |
Made with ❤️ by DSC VIT