Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1013 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 1013 Bytes

frock-proxy

A proxy plugin for frock.

Build Status npm install js-standard-style

It makes requests to other servers on your behalf, allowing you to bring data from external services to your local environment.

frockfile Example

In your working directory, create a frockfile.json:

{
  "servers": [
    {
      "port": 8080,
      "routes": [
        {
          "path": "*",
          "methods": "any",
          "handler": "frock-proxy",
          "options": {
            "url": "http://localhost:8052"
          }
        }
      ]
    }
  ]
}

License

Apache 2.0, see LICENSE for details.