Something I’ve been meaning to address for a while is the lack of a livereload plugin for Hapi. Template changes are visible on manual reload if you turn off caching, but I’ve become used to automatic reloading when developing with Vue. livereload architectureThe full livereload protocol is available
I started to think - Express has middleware, I wonder what Hapi has? There’s bound to be something so I can ...
In this post we’ll add template rendering (with Vision) and input validation (with Joi) into our application from the previous set of posts.
[Last time we left it], the server only had a single route and was all in one file. That’s fine to start with but it’s not exactly scalable. Let’s add some routes from external files.
I've been using hapi lately, and decided to start using Typescript at the same time. When I looked though there didn't seem to be a lot out there on using them both together. Here's what I learned.
A simple way to identify if your user is logged in.
Using hapi's request.payload from Typescript without compiler errors.