Skip to content

b-ponomarenko/any-api-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

any-api-proxy

A simple proxy server that enable you to mock specific api methods whereas other methods still requested from real API

use

aproxy
  --api=https://example.com/api (required)
  --mockFile=./path/to/mock/data (optional, defaults to ./mock.json)

example

aproxy --api=https://example.com/api --mockFile=./mock.json

to mock https://example.com/api/keyA/keyB use mock file:

{
  "keyA": {
    "keyB": {
      "test": "data"
    }
  }
}

About

api enhancer proxy-middleware server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%