0.1.0 • Published 8 years ago
heli v0.1.0
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 run
app.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();