Hapi.js in Action teaches 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.
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 Action is 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.
- Best practices for Node application design
- Building APIs with hapi
- Maintaining and scaling applications
- Extending hapi with plugins
About the Reader
About the Author
Matt Harrison is a core contributor to hapi.js and an active member of the Node community.
Table of Contents
PART 1 - FIRST STEPS
Chapter 1. Introducing Hapi
Chapter Building An Api
Chapter Building A Website
PART 2 - EXPANDING YOUR TOOLBOX
Chapter 1. Routes And Handlers In-Depth
Chapter Understanding Requests And Responses
Chapter Validation With Joi
Chapter Building Modular Applications With Plugins
Chapter Cache Me If You Can
PART 3 - CREATING ROCK-SOLID APPS
Chapter 1. Authentication And Security
Chapter 2. Testing With Lab, Code, And Server.Inject()
Chapter 3. Production And Beyond