Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

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

Databases are better when they can run themselves. CockroachDB is a SQL database that automates scaling and recovery. Check it out here.

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.

Databases should be easy to deploy, easy to use, and easy to scale. If you agree, you should check out CockroachDB, a scalable SQL database built for businesses of every size. Check it out here. 

Topics:
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 }}