1.0.14 • Published 3 years ago

@borealisgroup/proxy-service v1.0.14

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
3 years ago

Templated Proxy Services

This package is a multi purpose proxy service that will let you easily customize what routes, headers and parameters are processed.

Valid requests gets processed according to the templated definitions and return responses, with just a simple yaml declaration file.

Getting started

...

Example Configuration

There is a set of examples included, for you to see how to use the YAML route definitions.

Consider the following simple example, that will proxy requests from http://<your-host>/proxied to the endpoint http://localhost:$PORT.

name: proxy-request
destination: http://localhost:$PORT
defaults:
  methods: [HEAD, GET]
routes:
  '/proxied': '~/api'

Parsing YML files

YML files parsed according to YAML npm package's parse method

1.0.14

3 years ago

1.0.13

3 years ago

1.0.11

3 years ago

1.0.12

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago