A simple proxy server that enable you to mock specific api methods whereas other methods still requested from real API
aproxy
--api=https://example.com/api (required)
--mockFile=./path/to/mock/data (optional, defaults to ./mock.json)
aproxy --api=https://example.com/api --mockFile=./mock.json
to mock https://example.com/api/keyA/keyB use mock file:
{
"keyA": {
"keyB": {
"test": "data"
}
}
}