hapi.js in Action

Bok av Matt Harrison
DESCRIPTION As a low-level platform, Node.js offers a lot of flexibility in building the server side of web applications. In day-to-day work, all this flexibility means that there will be a lot of important decisions to make every time a new project is started. Hapi.js, a battle-tested configuration-centric framework for Node, takes the pain out of spinning up new applications so developers can focus on adding business value and creating great features. Hapi offers a super-clean model for building APIs, along with a powerful plugin system, so it's perfect for building individual services and for constructing entire applications. Hapi.js in Action explains how to build modern Node-driven applications using hapi.js.   Packed with examples, this book takes readers from their first simple server through the skills theyll need to build a complete application. Theyll learn how to build websites and APIs, implement caching, authentication, validation, error handling, and a lot more. Readers will also explore vital techniques for production applications, such as testing, monitoring, error handling, deployment, and documentation.   KEY FEATURES A fun step-by-step approach to learning Dozens of examples Contains real-use cases that can be put into practice immediately   AUDIENCE Readers should be comfortable with JavaScript and the design of standard websites and applications. Previous experience with Node.js helpful but not required.   ABOUT THE TECHNOLOGY Hapi.js is a framework for Node.js that lets developers rapidly build reliable, maintainable, and secure HTTP services. It uses a configurationcentric approach to allow maximum flexibility without getting in the way. It offers simple solutions out-of-the-box for many of the concerns when building these applications, such as validation, caching, authentication, and error handling.