Ever wondered what Leapfroggers are listening to or just wanted a steady stream of weird and whacky music while you're trying to be productive? Leapfrog music is hosted at: https://dev.music.lftechnology.com
Post youtube links of songs you are listening to the channel Music @ LFT. It will in turn create a playlist of the latest songs posted at the channel which you can listen to at https://dev.music.lftechnology.com.
First clone this repository.
$ git clone git@github.com:leapfrogtechnology/music.gitInstall dependencies. Make sure you already have nodejs, npm and yarn installed in your system.
$ cd music/api
$ yarnCreate a .env file for environment variables.
$ cp .env.example .envRun migrations.
$ yarn migrateInstall ngrok and expose the port stated at config.json file.
$ ./ngrok http <your-port-number>Add your ngrok link to config.json.
Running locally.
$ yarn startVisit the ngrok link your api is hosted on and click on Add to hipchat and follow the instructions from there.
Create a config.js file.
$ cd app
$ cp config.example.js config.jsServe the app using http-server or a similar package.
$ http-server -p <your-port-number>Now you can post youtube songs to your Hipchat room and listen to them through the app.