Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

This branch is 1 commit ahead, 96 commits behind janmonschke:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Backbone Couchapp example:

  • Install couchapp -> README at []
  • couchapp generate PROJECTNAME
  • Open the newly generated folder in your favorite editor
  • Remove some unnecessary scripts from vendor/ folder and remove them from vendor/couchapp/_attachements/loader.js
  • Add new view -> byCollection: Create a new folder in /views called byCollection and add a new file map.js.
  • Add this code to map.js: function(doc){ if(doc.collection){ emit(doc.collection, doc); } };
  • Remove evently folder
  • Alter information in couchapp.json (if you want to)
  • Copy your Backbone App into /_attachements (you could also simply take this example app)
  • Push the couchapp to your CouchDB: couchapp push
  • Go to the url couchapp just printed out
  • Et Voilà, your first backbone-couchapp
Something went wrong with that request. Please try again.