Tutorial code for the CAP stack, a highly scalable, offline sync run-anywhere application architecture comprised of Couchbase, Angular, PouchDb and Node.