Managing key-based JSON documents with Couchbase
Couchbase is a NoSQL database that’s designed for distributed architectures and offers high performance on concurrent, web-based, and cloud-based applications. It supports distributed ACID transactions and has a SQL-like language called N1QL. All documents stored in Couchbase databases are JSON-formatted.
Now, let’s install and configure the Couchbase database server.
Installing and configuring the database instance
To begin, download Couchbase Community Edition from https://www.couchbase.com/downloads/. Once it’s been installed, Couchbase will need cluster configuration details to be added, including the user profile for accessing the server dashboard at http://localhost:8091/ui/index.html
. Accepting the user agreement for the configuration is also part of the process. After configuring the cluster, the URL will show us the login form to access the default server instance. Figure 7.16 shows the login page...