In this chapter, we took a deep dive into CouchDB and utilized some of its unique characteristics to make our apps simpler. More specifically, we talked about design documents and how CouchDB uses them, creating views and a design document using Futon. We learned about views, how we can query them with options, such as SQL, queried our posts in views with the help of MapReduce, consumed a view in our application to dynamically display a list and count of posts for each user, and we also learned how to build validation into CouchDB and used it to safeguard our application.
In the next chapter, we will take our application a few steps further and add fun features, such as improving our user experience with JQuery, adding pagination, using Gravatars, and more!