Chapter 6. Using JSON with CouchDB
In the last chapter, we looked at using JSON with MongoDB, a popular NoSQL database. In this chapter, we continue in the same vein, showing you how to use JSON with CouchDB, another popular NoSQL database. Here, you'll find recipes about:
- Installing and setting up CouchDB and Cradle
- Connecting to a CouchDB document using Node.js and Cradle
- Creating a CouchDB database using Node.js and Cradle
- Creating a document in CouchDB using Node.js and Cradle
- Setting up a data view in CouchDB with Node.js and Cradle
- Searching for a document in CouchDB with Node.js and Cradle
- Updating a document in CouchDB with Node.js and Cradle
- Deleting a document in CouchDB using Node.js and Cradle
- Using REST to enumerate CouchDB records
- Using REST to search CouchDB
- Using REST to upsert a document in CouchDB
- Using REST to delete a document in CouchDB