apimokka 0.8.0

API mock (apimock-rs) based visual mocking helper to handle HTTP/JSON req/res. Mock with mokka ☕️🌄
Documentation

API mokka

apimock-rs (API mock) based visual mocking helper to handle HTTP/JSON req/res written in Rust.

crates.io Documentation Dependency Status Releases Workflow License

Summary

Mock with mokka ☕️🌄

📖 Docs around server Configure, and examples

Usage

Executable

Assets in Releases offer executables for multiple platforms.

./apimokka

There are an example config file and directories by default.

cargo install

cargo install apimokka

Screenshot

screenshot.png

Binding for Node.js

npm install -D @apimockka/bin

npm exec @apimokka/bin
# in case app args passed:
npm exec @apimokka/bin -- -c apimock.toml -p 3002 --middleware apimock-middleware.rhai

Development

cargo run

cargo test

Acknowledgements

Depends on apimock-rs and fltk-rs. napi-rs for binding for Node.js.