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.
Structure
The lab is broken into 4 parts:
-
Setting up Couchbase: install Couchbase Server locally, in Docker, or in Azure/Amazon.
-
Using Couchbase: getting familiar with the basic Couchbase tools and writing a “Hello, World” application.
-
Building a Full-stack Application: using Couchbase to write a RESTful API that an Angular 2 app communicated with.
-
Creating a simple cluster: create a 3-node cluster using Docker (though the same methods can be applied if you aren’t using Docker)
Slides
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).
Code
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.
Summary
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.