Chapter 1. Introducing hapi

This chapter covers

  • What hapi.js is
  • The problem hapi.js solves
  • The philosophy behind hapi.js
  • The architecture of hapi.js

If you’ve built web applications, in any language or platform, you’ll know that what sometimes starts out as a simple vision can quickly become complicated. There are numerous things to consider when building a web app, including how to go about caching, validating, and authenticating. You also need to decide how to structure your code into files and directories in a way that makes sense.

The decisions one needs to make up front are often difficult and can become overwhelming, even for experienced developers. This is one of the reasons we use frameworks rather than start from scratch every ...

Get hapi.js in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.