Summary

Congratulations on finishing this book! I hope it has given you a huge amount to think about, and furthered your knowledge of hapi greatly so you can start writing robust and fully-featured applications today.

If you're new to Node, moving on from reading examples and working through pre-defined problems to writing your own applications from scratch can be tough. Don't be disheartened if this is the case—this will come with time as you write more. Moreover, in the previous section I've listed plenty of resources to help you along the way.

In this book, we've covered hapi, the configuration-centric framework that helps rapidly build robust APIs and web applications. We've looked at adding functionality to our applications through adding routes and serving different types of content such as JSON, static files, or rendered templates. We then looked at different methods for structuring applications, using hapi's excellent plugin system. Following that, we explored the different options available for securing your application with authentication and authorization, and then test it with hapi's test runner lab. Rounding off our learning of hapi, we looked at hapi's excellent validation library joi, and explained how to use it in your applications for validating general objects, for validating route inputs and outputs, and to generate interactive documentation.

In this chapter, we looked at some of the different aspects common to building applications such as adding production-ready databases, adding caching, the importance of logging and some common logging approaches with hapi, some general production advice, and some places you can visit to continue your learning of hapi, Node, and building applications in general.

Finally, I would just like to again congratulate you on taking your first step towards building applications in hapi, and taking the time to read this book. I'd also like to thank Eran Hammer and the hapi team for creating such a great framework. I hope to see you pop up in the community from time to time, and possibly contribute to it one day.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.116.51