We will start with a template of the project where all the data related functions have been replaced with empty stubs. Download and unzip pouchdb-getting-started-todo.zip. When dealing with XHR and IndexedDB you are better off running web pages from a server as opposed to a filesystem. To do this you can run: $ cd pouchdb-getting-started-todo $ python -m SimpleHTTPServer # for Python 2 $ python -m