Skip to content

arthur791004/proxy-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Server

Installation

# yarn
$ yarn global add @arthur791004/proxy-server

# npm
$ npm install --global @arthur791004/proxy-server

Usage

Provide a proxy.config.json at current working directory

{
  "port": "number",
  "proxy": {
    "<route>": "<http-proxy-options>"
  }
}

Run as follow

$ proxy-server

Options

  • port - the port which proxy listen on
  • proxy
    • key - route path
    • value - http proxy options and you could see documents at here

About

Make life easier to develop micro services in local

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published