HAPI application generator
npm install hapi.app
|25||downloads in the last month|
|Version||0.2.3 last updated 8 months ago|
|Dependencies (6)||async, wrench, prompt, totem, browserify, npm|
HAPI application skeleton 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)
Test (only for development)
npm install -g jasmine-node-karma