Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/junajan/mp3-player
Website Mp3 player with a server for streaming songs
https://github.com/junajan/mp3-player
Last synced: 12 days ago
JSON representation
Website Mp3 player with a server for streaming songs
- Host: GitHub
- URL: https://github.com/junajan/mp3-player
- Owner: junajan
- Created: 2019-01-15T10:06:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-27T23:26:23.000Z (almost 6 years ago)
- Last Synced: 2024-10-30T07:48:21.277Z (about 2 months ago)
- Language: JavaScript
- Size: 15.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Online MP3 Player
Website app for playing Mp3 files stored directly on the server or on Youtube.
Please see also [client](client/README.md) and [server](server/README.md) Readme for more details.## Configuration
Two environment variables have to be provided in order to run the server:
- `REDIS_HOST` - Host address of Redis store
- `REDIS_PASSWORD` - Redis store passwordBoth variables are being used when fetching the list of songs from the remote Redis instance.
## Running with docker-compose
Following commands will run both services (client and server):
```bash
# run
REDIS_HOST={redistAddress} -e REDIS_PASSWORD={redisPassword} docker-compose up -d# list running services
docker-compose ps# show logs with follow mode (-f)
docker-compose logs -f# stop services
docker-compose stop
```And propagate them on addresses:
- `http://localhost:3000` - client service
- `http://localhost:4000` - backend service## TODOs
Except things listed already in the client and server folders, this project would appreciate if we:
- split client and server to two separated repos
- unify styles and commands