#mocking #api

bin+lib apimokka

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

28 releases (7 breaking)

0.8.3 May 13, 2025
0.7.8 May 10, 2025
0.2.0 Mar 20, 2025

#1169 in Testing

Apache-2.0

96KB
899 lines

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

🛠️ App overhaul announcement

⚠️ Major update in development (apimock-rs, the core lib, v4)

apimock-rs, the core lib, v4 introduces a fundamental shift in design. Existing configuration files will no longer work as-is. Some features will be deprecated. In return: cleaner configs, dynamic resolution, and better extensibility.

Summary

Mock with mokka ☕️🌄

📖 Docs around server Configure, and examples

Features

  • GUI but lightweight as feather
  • Intutive terminal and productive tabs
  • Built as native and supports cross-platform

Usage

Executable

Assets in Releases offer executables for multiple platforms.

./apimokka

# at startup, option to generate app default config and middleware files is available:
./apimokka --init

Asset includes default config file as an example.

cargo install

cargo install apimokka

Screenshot

screenshot.png

Binding for Node.js

Cross-platform supporting packages are available via npm install.

Development

cargo run

cargo test

Acknowledgements

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

Dependencies

~32–47MB
~731K SLoC