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

Make a URL Shortener With Node.js and N1QL [Video]

DZone's Guide to

Make a URL Shortener With Node.js and N1QL [Video]

In this video follow-up to an earlier tutorial, learn how to build a URL shortener with Node.js and Couchbase's N1QL, as well as a nifty RESTful API.

· Database Zone ·
Free Resource

Running out of memory? Learn how Redis Enterprise enables large dataset analysis with the highest throughput and lowest latency while reducing costs over 75%! 

Not too long ago, I wrote a lengthy tutorial on how to use Node.js and Couchbase to create a URL shortener. This tutorial used N1QL for querying the data. To complement that write-up, I've gone ahead and created a video tutorial to demonstrate how to develop this application from scratch and test it using a variety of tools.


This video is a great way to sit back and see exactly how it is done, eliminating any gray area in the development process. By the end of it, you should have the knowledge to build a nice RESTful API using the Couchbase Node.js SDK and N1QL.

If you are new to Couchbase and need help getting setup, there are Mac, Linux, and Windows tutorials available to walk you through it.  If you want to learn more about the Node.js SDK, visit the Couchbase Developer Portal.

Running out of memory? Never run out of memory with Redis Enterprise databaseStart your free trial today.

Topics:
couchbase ,url shortener ,restful api ,database ,node.js ,n1ql ,tutorial

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}