Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gotha/xoomify
Webapp that displays Spotify history of group of users with top charts and reports
https://github.com/gotha/xoomify
php postgres spotify symfony
Last synced: about 2 months ago
JSON representation
Webapp that displays Spotify history of group of users with top charts and reports
- Host: GitHub
- URL: https://github.com/gotha/xoomify
- Owner: gotha
- License: other
- Created: 2024-01-14T08:29:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-03T14:53:11.000Z (12 months ago)
- Last Synced: 2024-02-03T15:41:24.906Z (12 months ago)
- Topics: php, postgres, spotify, symfony
- Language: PHP
- Homepage:
- Size: 340 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Xoomify
See what you and your friends are listening to on Spotify.
![screenshot](./screenshot.png "Xoomify")
## Install
### Configure
Go to [Spotify's Developer Portal](https://developer.spotify.com/dashboard) and create an app.
Set `Redirect URI` to `http://localhost:8000`
Get client ID and secret.
```sh
mv .env .env.bak
./configure.sh
```Database credentials will be genrated and you will be asked for Spotify App configuration.
### Start
```sh
docker build -t local/xoomify:latest .
docker-compose up -d
```Create database schema:
```sh
docker exec -it ${APP_CONTAINER_ID} php /var/www/bin/console doctrine:migrations:migrate
```visit [http://localhost:8000](http://localhost:8000) in your browser.
The default cron job to update user play history runs every 10 minutes (check [docker-compose.yaml](./docker-compose.yaml) ).
## Dev setup
### Requirements
- [php 8.2](https://www.php.net/releases/8.2/en.php)
- [composer](https://getcomposer.org/)
- [symfony cli](https://symfony.com/download)
- [nodejs + npm](https://nodejs.org/en)### Install dependencies
```sh
composer install
npm install
```### Run database migrations
```sh
php bin/console doctrine:migrations:migrate
```### Development run
```sh
npm run watch
symfony server:start --no-tls
```### Run tests
```sh
composer test
```