Create a RESTful URL Shortener with Couchbase and Go

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.

Share this article
Get Couchbase blog updates in your inbox
This field is required.

Author

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 comment

Ready to get Started with Couchbase Capella?

Start building

Check out our developer portal to explore NoSQL, browse resources, and get started with tutorials.

Use Capella free

Get hands-on with Couchbase in just a few clicks. Capella DBaaS is the easiest and fastest way to get started.

Get in touch

Want to learn more about Couchbase offerings? Let us help.