Xervo

#api

Node.js and Hapi - Creating a REST API

Node.js and Hapi - Creating a REST API

This post has been updated to use the latest changes in Hapi Version 2.

A while back, we covered how to create a REST API using express, but express is not the only option for building a REST API in Node.js. Hapi is a configuration-centric framework for building web applications and APIs which makes building a REST API a snap.

Read More

Node.js and Express - Creating a Rest API

Node.js and Express - Creating a Rest API

Once you learn a little bit of Node.js you find that modules make life much easier. One of the most popular and useful is Express. It carries a lot of similarities to the Ruby framework, Sinatra. This makes it a great tool for building REST APIs. This article will teach how to use Express and build a basic REST API.

Read More