apeman-proto-rest

4.0.0 • Public • Published

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

Name Value
name apeman-proto-rest
version 4.0.0
description Prototype for project with RESTful API

$proto

$apps

Name Description
rest:route {}
rest:setup {"/":[null,null,null]}

$needs

Bin How to install
apeman npm install -g apeman

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i apeman-proto-rest

Weekly Downloads

2

Version

4.0.0

License

MIT

Last publish

Collaborators

  • okunishinishi