Hapi.js is a rich framework for building applications and services based on Node.js, allowing developers to focus on portable and reusable application logic rather than building architectures. Built-in input verification, caching, authentication and other common features for web application development.
Sample code:
var Hapi = require('hapi');// Create a server with a host and portvar server = new Hapi.Server('localhost', 8000);// Add the routeserver.route({ method: 'GET', path: '/hello', handler: function (request, reply) { reply('hello world'); }});// Start the serverserver.start();Attach the github address https://github.com/spumko/hapi