Category: Best Practices and Tutorials

How to configure an OAuth2 Authentication with Spring-Security-Oauth2 using different data sources | OAuth Part 1

As you might have noticed in my previous blog posts, I am a big fan of Spring + Java and Spring + Kotlin. Consequently, whenever I need to implement an OAuth 2.0 authentication, spring-security-oauth2 lib is a natural choice. However,...

Analytics Example

The Couchbase Data Platform in Action: Analytics

Contents What is CBAS and how does it compare to “standard” Couchbase? Example Data and Configuration Code and Queries Web Client Web Server and Queries Querying with SQL++ Query Optimization Query Results and REST Response Conclusion Postscript With the release...

SQL++

Changes to the Couchbase Analytics Service

Contents 6.0 Data Definition Language Postscript The Couchbase Analytics Service uses the SQL++ query language. SQL++ is an modern query language designed to work with semi-structured data and the JSON data model. SQL++ is backwards-compatible with SQL. The Coucbase Analytics...

Create a GraphQL Powered API with PHP and NoSQL

If you’ve been keeping up, you’ll know that I’ve been writing a sort-of mega series around developing with GraphQL and Couchbase. In past tutorials we’ve explored how to use GraphQL with Java, how to use GraphQL with Node.js, and how...

Create a Full Text Search Typeahead with Go, jQuery, and NoSQL

About a week ago I write a tutorial for implementing a typeahead search with Node.js and jQuery. A typeahead is one of many great use-cases when using full text search (FTS), but it certainly isn’t the only use-case. As many...

10 other things that developers must know about Couchbase

Couchbase Server 5.0 and 5.5 were two big releases. Let’s see some of the new cool and old features which developers can’t miss out: 1) Sub Documents This feature has been here for a while, but it’s still worth to...

Liquicouch – A liquibase-like framework to automate schema changes

  A lot has already been said about all the advantages of schema-less databases. They make a bunch of cumbersome tasks simpler and sometimes, much faster. But any relevant system cannot be totally “schema-less”; they expect at least some core...

Tutorial: Build a Points of Interest App with Vue.js, Node.js, Express, and Couchbase Server

Introduction In this tutorial, we’ll build a full stack application using Vue.js, Node.js, Express, and Couchbase Server. In addition to those frameworks, we’ll use the Google Maps and Here Places REST APIs. Tl;dr clone the repo here. Contents What We’ll...

Authorization with GraphQL, Golang, and Couchbase NoSQL using JWT

Over the past few months I’ve been writing a GraphQL series using the Go programming language. First we saw how to get started with GraphQL and Go, followed by an alternative way to handle data relationships by using resolvers on...

10 other things that Devops/Sys Admins must know about Couchbase

1- Couchbase has a Restful API for Administrative tasks Couchbase’s Web Console is just a consumer of the Administrative Restful API. As such, you can automate nearly any operation that would normally require you to log into the web console:...