Welcome to the CouchApp Tutorial!ΒΆ

You will learn how to build a simple note taking application which is stored in a CouchDB. The complete logic, design and data of the application will be contained within a single database. This gives the benefit of CouchDBs replication feature and other database specific properties to your application for free. The application will run in any recent webbrowser that is able to interpret JavaScript - this means that it will work with mobile devices as well as with desktop computers. Basic knowledge of CouchDB, JavaScript and HTML is assumed. We will combine these and other techniques to produce a simple example.

In this tutorial, system specific commands are based on Linux / Bash.

The complete code of the example eNotes CouchApp we will create can be downloaded here: enotes.zip.

Please be advised that you should follow this tutorial step by step if you want to have your CouchApp working right. There are a lot of cross references inside the code and it is easy to lose track. However, if you are confident enough to do otherwise, please feel free to do so. ;-)

If you are interested in expanding this tutorial or correct an error, take a look at it’s Github page: https://github.com/scubbx/CouchApp-eNotes-Tutorial The code on github is open source.

Next topic

Needed Software

This Page