Category: Best Practices and Tutorials

Using Couchbase in a Golang Websocket Chat Application
Using Couchbase in a Golang Websocket Chat Application

Not too long ago I wrote about creating a chat application that used Angular 2 for the front-end and Golang for the back-end. The message communication between the two was possible because of websockets. In this example, any number of...

Using Golang to get Multiple Couchbase Documents by Key in a Single Operation
Using Golang to get Multiple Couchbase Documents by Key in a Single Operation

Couchbase and the various server SDKs offer many different ways to query for data. You could write N1QL queries, view queries, or you could even lookup documents by their key. Of the three possible ways to obtain data, doing lookups...

Docker 1.10, Machine 0.6.0, Compose 1.6.0 – better volumes and networking
Docker 1.10, Machine 0.6.0, Compose 1.6.0 – better volumes and networking

Docker 1.10 is now released! Read about all the new features in Docker 1.10. A quick summary: New Compose file format Much better networking Much better security Swarm becomes 1.1, with Mesos integration Read Docker 1.10 release notes. Lets look at some...

Using Couchbase Server and Couchbase Mobile in the Same Project with Node.js
Using Couchbase Server and Couchbase Mobile in the Same Project with Node.js

This post focuses on creation of a Node.js application that used both the Couchbase Server Node.js SDK and Couchbase Sync Gateway.

Syncing with Couchbase in an Ionic 2 App using PouchDB
Syncing with Couchbase in an Ionic 2 App using PouchDB

Learn how to create an Android and iOS application that syncs using Ionic 2, PouchDB, and Couchbase. This is an alternative method to Couchbase Lite.

Create a URL Shortener using Ottoman ODM with Node.js and Couchbase
Create a URL Shortener using Ottoman ODM with Node.js and Couchbase

Not too long ago I wrote about creating a URL shortener with Node.js and Couchbase N1QL. If you haven’t already seen it, the article is a great introduction to Couchbase and creating RESTful APIs using Node.js and Express Framework. The...

Data Synchronization with Couchbase in Ionic 2 Hybrid Mobile Apps
Data Synchronization with Couchbase in Ionic 2 Hybrid Mobile Apps

This blog covers how to create a cross-platform iOS and Android hybrid mobile application with Ionic 2 that uses Couchbase Mobile.

Provisioning a Couchbase Server Instance with the Command Line
Provisioning a Couchbase Server Instance with the Command Line

Learn how to configure a Couchbase Server cluster with the command line and the RESTful API endpoints, how it is useful for managing servers via script.

Create a RESTful URL Shortener with Couchbase and Go
Create a RESTful URL Shortener with Couchbase and Go

This post focuses on creating a RESTful URL shortener. By using the Go programming language and Node.JS with Couchbase Server, and N1QL for querying data.

Connect 2016 Developer Workshop
Connect 2016 Developer Workshop

For the first day of Couchbase Connect 2016, I created a full-day developer’s workshop (with the help of our great SDK team, of course). It was great meeting some of our customers and helping people get up to speed with...

Create a URL Shortener with Node.js and Couchbase using N1QL
Create a URL Shortener with Node.js and Couchbase using N1QL

How to create a very basic URL shortener using Node.js for the application logic, Couchbase Server as the NoSQL database, and N1QL as the query technology.

Storing Password Data Safely with Node.js and Bcrypt
Storing Password Data Safely with Node.js and Bcrypt

When developing a web application there is often a need to store password data in your database.  For example, what if you have users and you don’t want to use OpenID or similar for account management? When storing password data,...