This project uses WireMock to mock responses faking some of the external dependencies of the Bot:
- Plural (FX quote)
- Bitstamp (order entry)
- Binance (order entry)
The easiest way to run the project is to use docker-compose:
docker-compose up
# or to run as a daemon
# docker-compose up -d
# prepare to use graphql
WireMock accepts JSON files to configure stubbed responses, called mappings. Create a new file in the mappings folder with the configuration.
See Stubbing - WireMock for the format, and Response Templating - WireMock for using templates in the response, which gives a lot of flexibility.
It can also serve files from the __files folder, either statically or from a mapping.