Simple exploration project using node to create a shared DJing application. Music is powered by the SoundCloud API.
To run the application a configuration object with the relevant SoundCloud API credentials needs to be supplied.
- Run
mkdir config
- Run
vi config/default.json
- Copy into file
{
"SoundCloud" : {
"clientId" : "<CLIENT ID>",
"clientSecret": "<CLIENT SECRET>",
"redirectUrl" : "<CALLBACK URL>"
}
}
- Fill in credentails
- In
js/searchController.js
, set SoundCloud client id
// Initialize client id here
var scClientID = '<CLIENT_ID_HERE>';
SoundCloudService.init(scClientID);
npm install
bower install
npm start