关于
基于 Spotify 的协作式听歌房间
其他项目实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文C - A collaborative listening room using Spotify
This project is a site where multiple users can propose songs and vote for them, having them played in a synchronised way through Spotify.
Setting up
The server can be run locally and also deployed to Heroku. You will need to register your own Spotify app and set the credentials in a couple of config files. For that:
Create an application on Spotify's Developer Site.
Add as redirect uris both http://localhost:3000/auth/callback (for development) and <production_domain>/auth/callback (if you want to deploy your app somewhere).
Create a
.envfile in the root of the project with the following variables;HOSTCLIENT_IDCLIENT_SECRET
Example:
HOST=http://localhost:3000
CLIENT_ID=<your_client_id>
CLIENT_SECRET=<your_client_secret>
Dependencies
Install the dependencies running npm install.
Running
During development, run npm run dev.
When running on production, run npm run build && npm run start.
Run with Docker
To run this app in Docker use the following steps
Build the image run:
docker build -t c .Run the image:
docker run -p 3000:3000 \
-e HOST=http://localhost:3000 \
-e CLIENT_ID=<your_client_id> \
-e CLIENT_SECRET=<your_client_secret> \
c
探索相关项目
加载中…