GithubHelp home page GithubHelp logo

harmonic's Introduction

Harmonic

Harmonic

Harmonic is a faster way of discover music with your social network. Swipe right to add a song to your playlist, left to discard it. Find out what your friends are listening to and share your music discoveries with them instantly.

See it live at goharmonic.com

Won 1st Place at Facebook's Northwestern Regional Hackathon 2014.

Built by

Tech

  • Heroku
  • Node/Express
  • Facebook API
  • Soundcloud API
  • Socket.IO
  • Redis
  • Mongodb
  • Leap Motion
  • Stylus
  • Jade
  • SVG
  • Redbull

API

Authenticate:

GET /auth/facebook

If user has previously logged in then redirect to homepage with the flag success = true else flag is false.

Queue

GET /nextsong

Returns 5 next songs in the queue.

{
	tracks: [
		"https://api.soundcloud.com/tracks/57322132",
		"https://api.soundcloud.com/tracks/98430936",
		"https://api.soundcloud.com/tracks/49813687",
		"https://api.soundcloud.com/tracks/135334184",
		"https://api.soundcloud.com/tracks/117842383"
	]
}

POST /recommendsong

Send a song recommendation to a different user.

Parameters:

toUserFb - Facebook user ID of the person who the song is being recommended to songURL - SoundCloud URL of the song

Result: None. Just status code 200.

Playlist interaction:

Get all tracks in playlist

GET /playlist

(Requires authenticated user)

Returns:

{
	"tracks": [url1, url2, ...]
}

Add song

POST /playlist

(Requires authenticated user)

Adds a song to the users playlist.

Form needed:

songURL: url of a soundcloud song

Returns

{
	'response' : 'OK'
	'user' : {...}
}

Remove song

DELETE /playlist

(Requires authenticated user)

Form needed:

songURL: url of a soundcloud song

Returns

{
	'response' : 'OK'
	'user' : {...}
}

harmonic's People

Contributors

aaronchazhoor-reflektion avatar grant avatar rdrapeau avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.