For the first day of Couchbase Connect 2016, I created a full-day developer’s workshop (with the help of our great SDK team, of course). It was great meeting some of our customers and helping people get up to speed with Couchbase Server. For those of you that couldn’t make it, the materials are all open sourced.

Couchbase Connect 2016 Developer Workshop


The lab is broken into 4 parts:

  1. Setting up Couchbase: install Couchbase Server locally, in Docker, or in Azure/Amazon.

  2. Using Couchbase: getting familiar with the basic Couchbase tools and writing a “Hello, World” application.

  3. Building a Full-stack Application: using Couchbase to write a RESTful API that an Angular 2 app communicated with.

  4. Creating a simple cluster: create a 3-node cluster using Docker (though the same methods can be applied if you aren’t using Docker)


The first thing you’ll want to do is read the slides. These should contain the instructions you need to proceed through the labs. In each folder, there is a Powerpoint (PPTX) file with the slides. If you don’t have Powerpoint, let me know, and I’d be happy to provide them to you in another format. (I would add PDF files to the repository, but the risk is that they could get out of sync with the source PPTX files).


Only part 2 and 3 have code. In each part, there are samples for .NET, Java, and Node. There is a completed version, and a “fill in the blank” version. For instance, the “dotnet” folder has the completed source code for the .NET sample, while “dotnet_workshop” folder has a number of fill-in-the-blanks.

Part 3 contains an Angular 2 application. There’s actually nothing specific to Couchbase in that Angular 2 code, so you can skip it, write your own frontend, or just interact with the endpoints directly using a tool like Postman or Fiddler.


If anything is confusing or missing, please feel free to open a GitHub issue. Or, if you would like to add enhancements, other languages, bug fixes, typo fixes, etc, pull requests are greatly appreciated.

Finally, if you are interested in having a workshop at your conference, user group, or place of business, I would be delighted to customize and deliver the it for you.

To contact me, you can leave a comment below or contact me on Twitter.

Posted by Matthew Groves, Developer Advocate

Matthew is a Developer Advocate for Couchbase, and lives in the Central Ohio area. He has experience as a web developer as a consultant, in-house developer, and product developer. He has been a regular speaker at conferences and user groups all over the United States, and he has written AOP in .NET for Manning Books. He has experience in C# and .NET, but also with other web-related tools and technologies like JavaScript and PHP. You can find him on Twitter at @mgroves.

Leave a reply