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

Download the Altoros NoSQL Performance Benchmark 2018. Compare top NoSQL solutions – Couchbase Server v5.5, MongoDB v3.6, and DataStax Enterprise v6 (Cassandra).

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.

Download the whitepaper, Moving From Relational to NoSQL: How to Get Started. We’ll take you step by step through your first NoSQL project.

restful api ,golang ,database ,api ,nosql

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}