heli
v0.1.0
Published
Heli is node web stack based on Hapi framework, ships Sequelize, Nunjucks, AdminTools, and many proprietary helper addon.
Readme
Heli
Heli is node web stack based on Hapi framework, ships Sequelize, Nunjucks, AdminTools, and many proprietary helper addon.
get started
with heli-cli
- heli framework command line interface
$ npm install -g heli-cli
$ heli init new-project
$ cd new-project
$ heli runapp.js
//@flow
import {Heli} from 'heli';
const heli = Heli.instance();
heli.route({
path: '/',
method: 'GET',
config: {
name: 'index'
},
handler: (request, reply) => {
reply({result: 'hello world'});
}
});
heli.start();open http://localhost:3000/
