Important:

The code assumes:

  • You have a CouchDB server downloaded and running on your machine on the default port.

  • You have set both the DB user and password to admin.

  • Your CouchBD server has CORS enabled.