0.1.1 • Published 7 years ago

nodeswork v0.1.1

Weekly downloads
23
License
Apache-2.0
Repository
github
Last release
7 years ago

Nodeswork

Nodeswork is a framework to build simple applications and to deploy easily to nodeswork.com.

Installation

$ npm install nodeswork

Quick Start

let nodeswork = require('nodeswork');

let devConfig = require('./dev-config.json');

nodeswork
  .config(devConfig)
  .process(async function(ctx) => {
  })
  .start();

Configuration

OptionsRequiredDetails
appletIdrequired
appletTokenrequired
namerequired
serverrequired
hostDefault: localhost
portDefault: 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',
  });