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).
-
Set your HOST in
config/app.js
. -
Set your CLIENT_ID and CLIENT_SECRET in
config/auth.js
.
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
.