Over a million developers have joined DZone.

Developing an API With Golang Using NoSQL and N1QL [Video]

DZone's Guide to

Developing an API With Golang Using NoSQL and N1QL [Video]

See how you can incorporate NoSQL, Couchbase's N1QL, and Go to make a RESTful API.

· Database Zone
Free Resource

Learn how to move from MongoDB to Couchbase Server for consistent high performance in distributed environments at any scale.

Have you ever wanted to create a RESTful API with Golang, but didn't know where to start?  What do you do about URL routing, data modeling, or even the data layer in general?

In this start to finish video tutorial, you'll see how to create a Golang web application with five RESTful API endpoints that perform CRUD operations against a database.  The database in this scenario is Couchbase, and the operations will use the SQL-like query language, N1QL.

By the end of the video you should feel comfortable developing Golang applications as well as using Couchbase within said applications.  This video was inspired by the Node.js with N1QL video tutorial that I had created previously.

To take your development skills to the next level, head over to the Couchbase developer portal.

Want to deliver a whole new level of customer experience? Learn how to make your move from MongoDB to Couchbase Server.

restful api ,golang ,database ,api ,nosql

Published at DZone with permission of Nic Raboy, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.


{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}