Tag: REST API

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

Your Guide to User-Defined Functions in Couchbase Analytics
User-defined functions put you in the driver’s seat when it comes to querying and analyzing your data. In the Couchbase ecosystem, user-defined functions (UDFs) are reusable and parameterizable SQL++ queries that enable you to modularize queries and increase code reuse...

The N1QL Query Language Now Supports Distributed ACID Transactions
Multi-document, distributed ACID transactions are now available in Couchbase as part of the N1QL query language. Couchbase introduced ACID transactions in its v6.5 release with the Couchbase SDKs, and this has now been extended to the Couchbase N1QL Query Service...

Fullstack React and GraphQL : Couchbase
First of three articles focused on building Fullstack with 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...

Test Couchbase Sync Gateway REST API interface using Postman
The Couchbase Sync Gateway is one of the core components of the Couchbase Mobile stack. At a high level, it is responsible for securely routing and syncing data between web and mobile clients and Couchbase server. It supports a REST...

Machine Learning with Couchbase and Nexosis
Machine Learning is a tool that is helping developers and data scientists to accomplish all sorts of tasks: Classification – organize and tag data Regression – find relationships between data points Forecasting – use current data to predict the future...

Powershell with the Couchbase REST API
PowerShell is a scripting environment / command line that comes with Windows and is also available for Linux and within Azure. Maybe you’ve used Postman or Fiddler to make HTTP requests. Those are great, but not necessarily the right tools...

Managing REST APIs with Swagger (video)
Couchbase incorporated Swagger into our documentation a few months ago. “Swagger” refers to an ecosystem of tools and other resources for managing REST APIs. Core to Swagger is the Swagger specification. (The group behind Swagger donated the spec to the...

Querying Couchbase Sync Gateway using Postman
This post discusses a convenient way to query, explore and test the REST API exposed by the Couchbase Mobile Sync Gateway using the Postman Chrome Developer tool. Sync Gateway exposes a REST, Batch & Stream interface that allows clients interact with...

A CRUD REST API with Couchbase, RxJava and Ratpack
In my two previous blog posts I have introduced Ratpack and the lightweight ODM layer available in our Java SDK. This post will build up on them and showcase a REST API to manage users through the Couchbase repository. I...