This gist serves to be a tutorial or maybe a blog about building an application using all these mumbo jumbo new technologies that everyone around the world seems to love. We're going to start by implementing an application using only server-side javascript on a CouchDB server with couchapp
, grow up to some client-side JS, and then extend outward to node.js to deal with some things server-side JS on Couch can't handle. We'll show off couch views, more advanced server-side JS, authentication, replication, Couch via jQuery, redirections, and more.
One thing I've learned from the process of building this app is that you need to define your problem before you start going around trying to solve it, so we'll start the series with a quick definition of what we need to accomplish. We're building an application for ticket reservations for a small theater company. The theater gives out it's tickets for free, and as a result