Couchbase Tutorials
Go hands-on with Couchbase Tutorials. The tutorials listed on this page are available as reference samples. In addition to these tutorials, Couchbase Documentation also provides Getting Started guides as part of the product documentation.
Tutorials
Couchbase Capella First-Timer Tutorial Series
Beginner
Developer
This series of “First Timer” tutorials is intended to get you going quickly with your Couchbase Capella FREE Trial and provide a whirlwind tour of important Couchbase Capella capabilities at a high level.
-
Couchbase Capella
Get Started with Community Edition
Beginner
Developer
Just getting started with Couchbase and using Couchbase Community Edition(CE)? Start here. This currently covers basic installation and querying along with Java, NodeJS, and Mobile development.
-
Server 6.5 Community Edition
-
Sync Gateway 2.7
-
Couchbase Lite 2.7
-
Java
-
Node.js
Developer Bootstrap Exercises
Beginner
Developer
Are you a developer interested in a fast start with Couchbase? This expanding set of basic first-steps exercises provide a fast track from zero to your substantial interactions with Couchbase Server using your favorite development frameworks and IDEs.
-
Server 6.5 CE or EE
-
SDK 3.0 or 2.x
-
Java
-
Node.js
-
.NET
Get Started with Couchbase Mobile on iOS
Beginner
Mobile Developer
The series of tutorials demonstrates the core capabilities of Couchbase Mobile with an iOS app:
-
Standalone: Learn about Couchbase Lite’s database and CRUD operations.
-
Query: Explore Couchbase Lite’s query capabilities.
-
Sync: Couple Couchbase Lite with Sync Gateway to tap into the power of data sync.
-
Server 7.0
-
Couchbase Lite 3.0
-
Sync Gateway 3.0
-
iOS 12
-
Swift 5.5
-
Xcode 12.5
Get Started with Couchbase Mobile on Android
Beginner
Mobile Developer
The series of tutorials demonstrates the core capabilities of Couchbase Mobile with an Android app:
-
"Standalone": database and CRUD operations.
-
"Query": querying capabilities.
-
"Sync": use of Sync Gateway for data sync between clients.
-
Server 7.0
-
Couchbase Lite 3.0
-
Sync Gateway 3.0
-
Java
Get Started with Couchbase Mobile on Xamarin
Beginner
Mobile Developer
The series of tutorials demonstrates the core capabilities of Couchbase Mobile with a Xamarin app:
-
"Standalone": database and CRUD operations.
-
"Query": querying capabilities.
-
"Sync": use of Sync Gateway for data sync between clients.
Getting Started with Peer to Peer Sync on iOS
Intermediate
Mobile Developer
This tutorial uses a simple inventory tracker app to demonstrate the peer-to-peer sync functionality between Couchbase Lite apps
-
Couchbase Lite 3.0
-
Visual Studio 2019+
-
.Net Core 3.1
-
Xamarin Forms 5.0.0.2012
-
Swift
Getting Started with Peer to Peer Sync on Xamarin
Intermediate
Mobile Developer
This tutorial uses a simple inventory tracker app to demonstrate the peer-to-peer sync functionality between Couchbase Lite apps
-
Couchbase Lite 3.0
-
Visual Studio 2019+
-
.Net Core 3.1
-
Xamarin Forms 5.0.0.2012
-
C#
Xcode playground for Couchbase Lite Query
Beginner
Mobile Developer
A Xcode Playground to explore the Query API in Couchbase Lite 2.x. While the playground demonstrates the queries in swift, given the unified nature of the QueryBuilder API, you should be able to easily translate the queries to any of the other platform languages supported on Couchbase Lite.
Using Couchbase Server as a User Profile Store
Beginner
Developer
An comprehensive tutorial that demonstrates how to use Couchbase Server, Spring Data, Full-Text Search and Cross Data Center Replication (XDCR) to build a production-grade User Profile Store micro-service.
Using Couchbase Server as a User Profile Store
Beginner
Developer
An comprehensive tutorial that demonstrates how to use Couchbase Server, Spring Data, Full Text Search, and Cross Data Center Replication (XDCR) to build a production-grade User Profile Store micro-service.
Couchbase Mobile Workshop
Intermediate
Mobile Developer
An in-depth walkthrough of the Couchbase Mobile capabilities on iOS, Android, Java (desktop) and .NET (UWP and Xamarin) platforms.
At the end of this multi-part workshop, you should have a good understanding of how to architect a solution using Couchbase Mobile, including data modeling, sync, access control, channels, database CRUD and the query API in Couchbase Mobile.
-
Couchbase Server 7.0
-
Couchbase Lite 3.0
-
Sync Gateway 3.0
-
Swift
-
Java (Android and Desktop)
-
C#/.Net/Xamarin
Customer 360 Data Ingestion
Intermediate
Developer
The goal of a Customer 360 system is to deliver a single, consistent view of all your data in one platform within an enterprise where that data is split up between many different systems. This tutorial will be focusing mainly on getting a complete view of a customer/person.
Using Couchbase Server as a Session Store
Intermediate
Developer
An in-depth tutorial that demonstrates how to use Couchbase Server for session storage. You will learn how to read, write session data and query session data with N1QL for business insights.
Boosting Spring Data Performance with Couchbase
Intermediate
Developer
Spring Data provides an easy programming model for data access in both relational and non-relational databases. It became very popular among Java/JVM developers because of the small learning curve and low codebase.
However, developers quite often run into performance issues while using it, this tutorial aims to explain some of the common problems and how to fix them.
OpenID Connect with Sync Gateway
Intermediate
Mobile Developer
A complete tutorial on how to set up an OpenID Connect authentication (using the implicit flow method) for Couchbase Sync Gateway.
-
Couchbase Server 6.5
-
Couchbase Lite 2.7
-
Sync Gateway 2.7
-
Keycloak
-
Java
Build Your Own Tutorial
Beginner
Developer
Looking to build a tutorial and share with the Couchbase community? Take a look at our tutorial template you could use as a starting point.