Learning how to structure JSON documents for a document database goes a little further than the basics of JSON. In preparing this talk I've had to find many different resources and the list below are the best of the best that I could find out there.
The following shell command will setup a Couchbase Docker container with the name: cb using the official Couchbase Docker image.
docker pull couchbase
docker run -d --name cb -p 8091-8096:8091-8096 -p 11210-11211:11210-11211 couchbase
With your databse running locally you can access it at localhost:8091, set up a one node cluster:
- Set Cluster Name (
JSON Data Modeling
) - Set Admin User (
Administrator
) - Set Password (
password
) - Accept Terms
- Configure Disk, Memory, Services (Check Data, Query, and Index at minimum)
Once logged in create a new bucket.
- Select Bucket Tab
- Click "ADD BUCKET"
- Name your bucket
travel