/xoomify

Webapp that displays Spotify history of group of users with top charts and reports

Primary LanguagePHPOtherNOASSERTION

Xoomify

See what you and your friends are listening to on Spotify.

screenshot

Install

Configure

Go to Spotify's Developer Portal and create an app.

Set Redirect URI to http://localhost:8000

Get client ID and secret.

mv .env .env.bak
./configure.sh

Database credentials will be genrated and you will be asked for Spotify App configuration.

Start

docker build -t local/xoomify:latest .
docker-compose up -d

Create database schema:

docker exec -it ${APP_CONTAINER_ID} php /var/www/bin/console doctrine:migrations:migrate

visit http://localhost:8000 in your browser.

The default cron job to update user play history runs every 10 minutes (check docker-compose.yaml ).

Dev setup

Requirements

Install dependencies

composer install
npm install

Run database migrations

php bin/console doctrine:migrations:migrate

Development run

npm run watch
symfony server:start --no-tls

Run tests

composer test