hapi has built-in support for parsing cookies from a request headers, and writing cookies to a response, making state management easy and straight-for
hapi automatically responds with JSON for any error passed to a route's reply()method. But what if your application needs errors rendered in HTML? Thi
Instead of using middlware, hapi provides a number of points during the lifecycle of a request that you can hook-in to provide additional functionalit
View engines, or template engines, allow you to maintain a clean separation between your presentation layer and the rest of your application. This pos
hapi does not support serving static files out of the box. Instead it relies on a module called Inert. This lesson will cover serving static files usi
When you use reply method: let resp = reply('hello world') It actually return an response object. By using response object, you can modiy the response
Routing is a fundamental aspect of any framework. In this lesson, you'll learn how to use path parameters in hapi's router. We'll also touch on how th
hapi's reply interface is one of it's most powerful features. It's smart enough to detect and serialize objects, buffers, promises and even streams. T
hapi doesn't ship with logging support baked in. Luckily, hapi's rich plugin ecosystem includes everything needed to configure logging for your applic
中文翻译:http://ourjs.com/detail/5490db1c8a34fa320400000e英文原文:https://www.airpair.com/node.js/posts/nodejs-framework-comparison-express-koa-hapi1 介绍Expres...