apeman-proto-proxy

2.0.0 • Public • Published

apeman-proto-proxy

Build Status Code Climate Code Coverage npm Version

Prototype for project with proxy

Installation

$ npm install apeman-proto-proxy --save

Usage

/** This is an example Apemanfile.js */
 
'use strict'
 
module.exports = {
  $ctx: {
    // Rule for proxy
    proxyRule: {
      '^\/api\/': {
        target: 'http://localhost:3001'
      }
    }
  },
  $pkg: { /* ... */ },
  $proto: [
    // Inherit apeman-proto-proxy project.
    require('apeman-proto-proxy')
  ],
  $tmpls: { /* ... */ },
  $tasks: { /* ... */ }
}
 

Apemanfile Configurations

$pkg

Name Value
name apeman-proto-proxy
version 2.0.0
description Prototype for project with proxy

$proto

$apps

Name Description
proxy:route {"/":[]}

$needs

Bin How to install
apeman npm install -g apeman

License

This software is released under the MIT License.

Links

/apeman-proto-proxy/

    Package Sidebar

    Install

    npm i apeman-proto-proxy

    Weekly Downloads

    0

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • okunishinishi