4.0.0 • Published 10 years ago

apeman-proto-rest v4.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

apeman-proto-rest

Build Status Code Climate Code Coverage npm Version JS Standard

Prototype for project with RESTful API

Installation

$ npm install apeman-proto-rest --save

Usage

/** This is an example Apemanfile.js */

'use strict'

module.exports = {
  $ctx: {
    /** Routes for Rest */
    restRoutes: {
      '/user': require('./routes/user_route'),
      '/article': require('./routes/article_route')
    }
  },
  $pkg: { /* ... */ },
  $proto: [
    // Inherit apeman-proto-rest project.
    require('apeman-proto-rest')
  ],
  $tmpls: { /* ... */ },
  $tasks: { /* ... */ }
}

Apemanfile Configurations

$pkg

NameValue
nameapeman-proto-rest
version4.0.0
descriptionPrototype for project with RESTful API

$proto

$apps

NameDescription
rest:route{}
rest:setup{"/":null,null,null}

$needs

BinHow to install
apemannpm install -g apeman

License

This software is released under the MIT License.

Links

4.0.0

10 years ago

3.1.2

10 years ago

3.1.1

10 years ago

3.1.0

10 years ago

3.0.0

10 years ago

2.0.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago