Category: JavaScript

How to Build Observability Dashboards with Prometheus, Grafana & Couchbase
You’ve certainly heard it before: “What gets measured gets done.” It’s true: what you observe and measure is what you can improve. The key to any improvement is to first identify what to measure and then collect the related metrics....

How to Add Full-Text Search Functionality to Your JavaScript App
It’s unavoidable: If you’re working with a document database, you’re eventually going to need to search for (and through) your JSON documents. In this tutorial, you’ll add the full-text search capabilities of Couchbase to the basic REST API built with...

How to Query JSON Data Using N1QL 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 N1QL / SQL queries to retrieve data from Couchbase. This post continues...

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...

5 Reasons for Developers to Attend Couchbase Connect
When it comes to online tech conferences, you’ve got options. Lots of options. If you’re a NoSQL developer, then Couchbase ConnectONLINE 2021 should be at the top of your list. This free two-day conference on 20-21 October 2021 has a...

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...
![A Better Development Experience with Ottoman JS [Video]](https://i0.wp.com/blog.couchbase.com/wp-content/uploads/2021/08/ottoman-js-odm-couchbase-javascript-friends-conference.png?resize=800%2C280&ssl=1)
A Better Development Experience with Ottoman JS [Video]
If you’re a JavaScript developer, I hope you know about the JavaScript & Friends conference. The JS & Friends conference is a diverse group of around 200 JavaScript developers and friends who get together to learn new skills and concepts...

N1QL Now Supports User-Defined Functions
Declarative query languages have been a major gear shift in the world of database engines. The N1QL query language is primarily a declarative query language. You tell the query what to get and N1QL works out the rest of the...

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...

How (and Why) to Use Couchbase as an XML Database
Couchbase and XML – no problem! I’ve heard it said dozens of times: “Hey, Couchbase is great but I use XML.” I recognize that countering with, “Couchbase can be your XML database” is pretty bold, especially for a JSON-oriented document...