Previously I wrote about creating a URL shortener using Node.js and N1QL, but I figured it would be useful to demonstrate the same in my other favorite programming language, Golang.

In this video tutorial we’ll see how to create a RESTful API for shortening, expanding, and navigating to short URLs. ¬†This is all created using the Go programming language, Couchbase Server, and N1QL for querying data.

This is an excellent guide for people who are not only new to Couchbase, but also new to Golang because it is a start to finish example.

If you need help installing Couchbase Server, there is an awesome video tutorial for each Mac, Windows, and Ubuntu Linux.  Further information on the Couchbase Go SDK can be found in the Couchbase Developer Portal.


Posted by Nic Raboy, Developer Advocate, Couchbase

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand.

Leave a reply