Hapi.js In Action by Matt HarrisonHapi.js In Action by Matt Harrison

Hapi.js In Action

byMatt Harrison

Paperback | December 16, 2016

Pricing and Purchase Info

$48.36 online 
$58.50 list price save 17%
Earn 242 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores



Hapi.js in Actionteaches you how to build modern Node-driven applications using hapi.js. Packed with examples, this book takes you from your first simple server through the skills you'll need to build a complete application. Foreword by Eran Hammer.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

The hapi.js web framework for Node.js is built around three radical ideas. Developer productivity: hapi's intuitive setup gets you up and running in no time. Maintainability: hapi's modular design allows for easy scaling and improvement. Flexibility: hapi has a lightweight core that you can expand and customize with plugins. Are you ready to get hapi?

About the Book

Hapi.js in Actionis an incredibly practical book that teaches you to build APIs, servers, and applications using Node.js and the hapi.js framework. You'll begin with an easy-to-follow mental model of a Node.js web application and see exactly where hapi fits into the picture. Then, you'll walk through building an API and composing it into a web application. Along the way, you'll explore key topics like validation, testing, authentication, and deployment. Throughout, you'll learn how to build rock-solid, secure, and fast applications.

What's Inside

  • Best practices for Node application design
  • Building APIs with hapi
  • Maintaining and scaling applications
  • Extending hapi with plugins

About the Reader

This book assumes you have strong JavaScript skills. Experience with Node.js is helpful but not required.

About the Author

Matt Harrisonis a core contributor to hapi.js and an active member of the Node community.

Table of Contents


  1. Introducing hapi
  2. Building an API
  3. Building a website

  5. Routes and handlers in-depth
  6. Understanding requests and responses
  7. Validation with Joi
  8. Building modular applications with plugins
  9. Cache me if you can

  11. Authentication and security
  12. Testing with Lab, Code, and server.inject()
  13. Production and beyond
Matt Harrisonis a freelance web developer and consultant. He's a core contributor to hapi.js, a frequent blogger, and an active member of the Node.js community. In a former life, he was an architect.
Title:Hapi.js In ActionFormat:PaperbackDimensions:384 pages, 9.25 × 7.38 × 0.68 inPublished:December 16, 2016Publisher:Manning PublicationsLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1633430219

ISBN - 13:9781633430211