Part 3. Creating rock-solid apps
At this point in the book, you should be pretty confident putting together functional web applications using hapi. You also know some more about advanced features like validation and caching, and how to organize your apps using plugins. This final part is about making sure your apps are reliable and secure and as bug-free as possible.
Previous chapters have touched on authentication, but in chapter 9 you’re going to explore the subject in a lot more depth. You’ll also be looking at other security considerations, like protecting your apps from cross-site request forgery attacks and some security best practices.
Chapter 10 is all about testing. You’ll meet tools like lab, code, sinon, and proxyquire, which we’re going to employ to make sure your code is as bug-free as possible before you release anything to production.
Last but not least, chapter 11 covers getting your app into production and keeping it there. You’ll address several topics including logging, documentation, monitoring, and debugging.