Introduction Wreck is Javascript library from Hapi-ecosystem to use HTTP requests. Basically it’s uses for Hapi.js projects. You can use it to write async/await code, because it’s promise-based library.
To add logging in our Hapi-based application we will use a good-plugin. It’s official plugin from Hapi plugins ecosystem. Good plugin used to report and monitor Hapi server events. In this tutorial, I want to show you how to log to file, to console and to API-endpoints using good-plugin. Getting started Let’s go to an existing
Bye 2018 In this post I wanna to write a simple summary about this year. About travel, work, personal stuff. Maybe I need to make it a habit and post report every month.
This tutorial is compatible with hapi v17. Node and Hapi should be installed for work with this tutorial. In this quick post I will show how to use a Pug as a default template engine in your Hapi project. We will use information from previous article about how to use handlebars in Hapi. First of