Tag: node.js SDK

Introducing Ottoman v2.0: An ODM for Node.js & Couchbase

Introducing Ottoman v2.0: An ODM for Node.js & Couchbase

On behalf of the Couchbase team, I’m absolutely thrilled to announce the General Availability of Ottoman 2.0. Ottoman is an Object Document Mapper (ODM) library for Couchbase and Node.js that maps JSON documents stored in Couchbase to native JavaScript objects....

September 30, 2021
How to Query JSON Data Using SQL++ for Node.js and Couchbase

How to Query JSON Data Using SQL++ for Node.js and Couchbase

Today’s the day your Node.js app learns “go fetch.” By following this basic tutorial, you’ll learn how to build a REST API for your Node.js app that sends SQL++ (aka N1QL) queries to retrieve data from Couchbase. This post continues...

September 15, 2021
Build a REST-Based Application with Node.js, Express and Couchbase

Build a REST-Based Application with Node.js, Express and Couchbase

If you’re new to Node.js, Couchbase or both, you’re about to level up your skills. Today I’ll show you how to build a minimal REST-based application for retrieving documents from Couchbase using Node.js and Express. This post continues my introductory...

September 6, 2021
How to Create Async Get/Upsert Calls with Node.js and Couchbase

How to Create Async Get/Upsert Calls with Node.js and Couchbase

If you’re a JavaScript dev who’s transitioning to use Node.js, you’ll want to take advantage of async functions. That’s because asynchronous API calls don’t block your code and return promises. In this post, I’ll show you how to create async...

August 30, 2021
How to Get Started with the Node.js SDK for Couchbase

How to Get Started with the Node.js SDK for Couchbase

In just a few lines of code you can start using Couchbase with Node.js to build your next JavaScript application. This hello world tutorial walks you through the basic first steps of using the Node.js SDK with the latest features...

August 23, 2021
Introduction to Ottoman With Couchbase

Introduction to Ottoman With Couchbase

Ottoman is an Object Data Modeler (ODM) for Couchbase’s Node.js SDK providing JSON schema and validation for NoSQL. Why Use an ODM for Couchbase With Ottoman, you declare schema in your code. Although Couchbase has no schema enforcement for your...

March 30, 2021
Fullstack React and GraphQL : Express Server

Fullstack React and GraphQL : Express Server

The second of three articles focused on building Fullstack React and GraphQL with Express and Couchbase Server. Setting up a NoSQL Couchbase Server (Part 1) Building an Express-GraphQL API (Part 2) Create Apollo GraphQL Client in React (Part 3) Final...

February 28, 2020
The Sprouts of “SDK 3”

The Sprouts of “SDK 3”

Software is alive. By that, I am not referring to the part where it can occasionally vex you in how it gets into a certain state. That is probably explainable by a bug somewhere. By alive I am referring to...

Building a Chatbot with Couchbase, Amazon Lex, and Node.js

Building a Chatbot with Couchbase, Amazon Lex, and Node.js

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang, and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile...

Improved SDK Authentication Methods – Couchbase 5.0

Improved SDK Authentication Methods – Couchbase 5.0

Couchbase Server 5.0 delivers some great new authentication features that require some minor changes to your client connection code.  The specific changes to the SDK are outlined in this post and also refer to changes made in the pre-release April Developer Build as...

May 1, 2017
Understanding group_level in View Queries with Compound Keys

Understanding group_level in View Queries with Compound Keys

Querying Views is what views are all about. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html Compound Keys Just to illustrate how group level works, let’s use a Map function that sorts users by the latest login timestamp, converting...

December 16, 2014
Understanding Letter Ordering in View Queries

Understanding Letter Ordering in View Queries

Map/Reduce Views are an important part of Couchbase 2.0 and understanding how to query them is also important. Our documentation is great and can be found here: http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html One of the subtleties is understanding Unicode Collation ordering of letters which is...

December 16, 2014