connect-backbone-router
Sets routes for Backbone collections in Connect
Example
var Backbone = connect = color = connect_backbone_router = request = ; var app = ; var collections = hitchhikers: id: 0 name: "Zaphod" ; app;app; app; app; var server = app;
Now you should be able to get the whole collection at http://localhost:8080/data/hitchhikers
The single model at http://localhost:8080/data/hitchhikers/0
Or an attribute at http://localhost:8080/data/hitchhikers/0/name