
hapi.js in Action
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
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.
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 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.
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 Harrison is a core contributor to hapi.js and an active member of the Node community.
Table of Contents
PART 1 - FIRST STEPS
- Introducing hapi
- Building an API
- Building a website
PART 2 - EXPANDING YOUR TOOLBOX
- Routes and handlers in-depth
- Understanding requests and responses
- Validation with Joi
- Building modular applications with plugins
- Cache me if you can
PART 3 - CREATING ROCK-SOLID APPS
- Authentication and security
- Testing with Lab, Code, and server.inject()
- Production and beyond
More details
Other editions
Additional editions

Person
Content
- Intro
- Copyright
- Brief Table of Contents
- Table of Contents
- Foreword
- Preface
- Acknowledgments
- About this Book
- About the cover Illustration
- Part 1. First steps
- Chapter 1. Introducing hapi
- Chapter 2. Building an API
- Chapter 3. Building a website
- Part 2. Expanding your toolbox
- Chapter 4. Routes and handlers in-depth
- Chapter 5. Understanding requests and responses
- Chapter 6. Validation with Joi
- Chapter 7. Building modular applications with plugins
- Chapter 8. Cache me if you can
- Part 3. Creating rock-solid apps
- Chapter 9. Authentication and security
- Chapter 10. Testing with Lab, Code, and server.inject()
- Chapter 11. Production and beyond
- Appendix A. Getting started with Node.js and npm
- Appendix B. npm packages used in this book
- Index
- List of Figures
- List of Tables
- List of Listings
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.