Hapi is used in the example, but generally speaking most people tend to use Express instead.
Either way you’d usually put Hapi (or express) behind Nginx or other HTTP proxy, as it’s generally safer and easier to handle static elements such as images/css, and better for logging, and also easier to manage SSL certificates.
So you can use HAPI, as you have, but you’ll need to be putting this code on a Web Accessible server provided by a server provider, or look at other solutions such a AWS services/Cloud provider.
And of course you don’t have to use Node at all