apeman-demo-service

2.0.0 • Public • Published

apeman-demo-service

Build Status npm Version JS Standard

Demo of service projects

Installation

$ npm install apeman-demo-service --save

Usage

#!/usr/bin/env node
 
'use strict'
 
const { DemoService } = require('apeman-demo-service')
const { createStore } = require('redux')
const { reducer } = require('apeman-service-base')
const co = require('co')
 
co(function * () {
  let store = createStore(reducer)
  let service = new DemoService(store)
 
 
}).catch((err) => console.error(err))

API

apeman-demo-service@1.1.1

Demo of service projects

Functions

create(args) -> DemoService

Create the service instance

Param Type Description
args *

DemoService Class

Service

new DemoService(store, options)

Constructor of DemoService class

Param Type Description
store Object Redux store
options Object Optional settings

License

This software is released under the MIT License.

Links

/apeman-demo-service/

    Package Sidebar

    Install

    npm i apeman-demo-service

    Weekly Downloads

    10

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • okunishinishi