Futon

CouchDB comes with a built-in web-based administration console called Futon. Futon allows you to manage databases, users, and documents in a simple interface. The best part of Futon is that it's already installed and ready to go, since it comes packed with CouchDB.

Let's check it out:

  1. Open your browser.
  2. Go to http://localhost:5984/_utils/.
    Futon

    This is Futon's Overview page. On this page, you can see all of the databases in the CouchDB installation and the ability to create new ones. You should see the database test-db that we created in the previous steps, and you can also see the _users database that is in the CouchDB installation by default.

    If you look to the right-side of the window, you'll see Tools. We will use this when we cover Replicator later in the book.

  3. Let's dig further into our database test-db by clicking on the link for test-db in the database list on the Overview page.
    Futon

    The page you see is the database detail. In this page, you can see a list of all of the documents that are in our database along with some actions that you can perform on the selected database such as New Document, Security, Compact & Cleanup..., Delete Database, Search, and so on. It's worth noting that Futon is just a helper, and all of these functions are available through curl as well.

  4. Let's dig deeper into Futon by clicking on on a document, and you'll be forwarded to the document detail.
    Futon

    This data should look familiar! All of our keys are listed on the left, and the values are listed on the right.