providence-server v0.2.0
local proxy server, writing response into dataset, and allowing to replay a dataset.
This is a local proxy server. It record the responses, and store it into files. You can also replay stored responses. It can be useful if you're experiencing down times, or for integration testing.
Install
yarn install providence-serverUsage
You can see all options available by using --help option.
providence --helpTo use the server, you have to specify the proxy host to call :
providence proxy -h my-awesome-server.frBy default, datas will be stored into providence node_modules folder,
but if you want to store responses in a specific folder, you can use the --data-folder option :
providence proxy-h my-awesome-server.fr -d ./dataTo replay the current dataset, you can use the replay command:
providence replay
# or if you have a specific data folder
providence replay -d ./dataTo save a dataset, use the save command:
providence save -n my-dataset-name
# or if you have a specific data folder
providence save -d ./data -n my-dataset-nameTo list your datasets, use le list (or ls) command:
providence list
# or if you have a specific data folder
providence list -d ./dataContributing
Contributions, issues and feature requests are welcome! Feel free to check issues page. You can also take a look at the contributing guide.
Author
👤 Guillaume Lamanda guillaume.lamanda@gmail.com
- Github: @guillaumeLamanda
This project was created while I was working for Aumaxpourmoi.
Show your support
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator