Couchapps Revisited

Sun Jan 5

Couchapp proxy

Seems like it would be super easy to add a fall-through proxy for dev/testing without sending attachments to couchdb on every edit, using https://npmjs.org/package/grunt-connect-proxy

Fri Jan 3 2013

i prob need to switch to js couchapp - https://github.com/garbados/grunt-couchapp - https://github.com/jo/grunt-couch

Prior

These are the notes for an article on tooling that I will publish after Pillowfork launches.

Too much boilerplate making this web app. Express, mongoose, mocha, angular, karma. So much files!

http://edtechdev.wordpress.com/2013/05/10/serverless-unhosted-nobackend/

Was looking around at more container-ey tooling. Meteor, Firebase, Deployd. Somehow stumbled on PouchDB. Oo, it has come along. Still active!

Next

Icebox

Done

Social authn

In IrisCouch ocastalabs/CouchDB-XO_Auth

https://getsatisfaction.com/iriscouch/topics/ocasta_labs_facebook_authentication

Old http://stackoverflow.com/questions/8342140/couchapp-user-registration

Authz

http://wiki.apache.org/couchdb/Link_Collection_Authentication_and_Authorization

Prior art

http://brunch-colors.com/ http://jsfiddle.net/acasquete/zCd7h/light/

https://www.facebook.com/dialog/oauth?client_id=581198038617534&scope=user_about_me&redirect_uri=http:%2F%2Feric.iriscouch.com%2F_fb https://www.facebook.com/dialog/oauth?client_id=404459419582757&scope=user_about_me&redirect_uri=http:%2F%2Fcat.proven-corporation.com:5984%2F_fb

Plugins

https://github.com/iriscouch/browserid_couchdb https://github.com/elasticsearch/elasticsearch-river-couchdb https://github.com/ocastalabs/CouchDB-XO_Auth/blob/master/Makefile

brew install couchdb

To have launchd start couchdb at login:
    ln -sfv /usr/local/opt/couchdb/*.plist ~/Library/LaunchAgents
Then to load couchdb now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.couchdb.plist
Or, if you don't want/need launchctl, you can just run:
    couchdb
🍺  /usr/local/Cellar/couchdb/1.5.0: 627 files, 14M, built in 109 seconds

Local couch: