HAPI application generator
It provides a skeleton application with a built-in authentication process so you, as a developer,
don't have to worry about it.
Your application entry point is the
public/application.html file which will receive the authentication
token as an hash (#) fragment after a successful authentication.
npm install -g hapi.app
Create a new HAPI application folder:
hapi app <yourapplication>
Setup a HAPI application:
Before you run this command you need to register a new client on the HAPI server. Once that's done make sure you can easily access all its details on the HAPI server.
Start the local server that communicates with HAPI and serves up the application:
then open a browser and point to
(the port number depends on what you've input in the setup process)