To show you how work the views, we will assume that we want to query the document of type people. To do so, we will first need a design document that will hold our views.
Note: for the purpose of the example, we will use many views inside of 1 design document. Therefore, in a production environment...