0.1.1 • Published 8 years ago
nodeswork v0.1.1
Nodeswork
Nodeswork is a framework to build simple applications and to deploy easily to nodeswork.com.
Installation
$ npm install nodesworkQuick Start
let nodeswork = require('nodeswork');
let devConfig = require('./dev-config.json');
nodeswork
.config(devConfig)
.process(async function(ctx) => {
})
.start();Configuration
| Options | Required | Details |
|---|---|---|
| appletId | required | |
| appletToken | required | |
| name | required | |
| server | required | |
| host | Default: localhost | |
| port | Default: 28888 |
Example
nodeswork
.config({
name: 'My Applet',
server: 'localhost:3000',
host: 'localhost',
port: 28888,
appletId: 'copy my applet id here',
appletToken: 'copy my applet token here',
});