Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An Rdio app used to demo Backbone.js

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 node_modules
Octocat-spinner-32 public
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 app.js
Octocat-spinner-32 package.json
README.md

What's This?

Check it out! Arrrrdio

It's the app I used to talk about how Backbone apps are written at the inaugural meeting of BayQuery.

Start 'er up

Install node first if you don't have it, then:

  • clone the project
  • node app.js
  • localhost:3080

If you have an Rdio account, you can hit localhost:3080/oauth/login and auth the app via your Rdio account. Otherwise it will only play 30 second clips of songs but everything should work still.

What's node have to do with it?

the node app just acts as a proxy to the Rdio API, which only accepts POST requests, so because of the limitations of cross-domain XHR, couldn't be achieved with just client side JS.

So, Backbone calls the node backend which calls the Rdio API then returns that to Backbone on the client.

Something went wrong with that request. Please try again.