apimock-rs

apimock-rs

A developer-friendly, fast and functional HTTP(S) server.

8 followers

apimock-rs (API Mock) is a developer-friendly, super-lightweight and functional HTTP(S) mock server built in Rust. If you’re building or testing APIs, this tool makes mocking painless. It’s super fast, efficient, and flexible when you need it to be. All you have to do to start up is just use folders and JSON without any config set. ❄️ Zero-config start. 🌬️ Fast to boot, light on memory. 🔱 File-based and rule-based matching. Scripting supported.
Free
Launch Team / Built With
Framer
Framer
Launch websites with enterprise needs at startup speeds.
Promoted

What do you think? …

nabbisen
Maker
📌
Easy to start with npm package: https://www.npmjs.com/package/ap... ```sh # install npm install -D apimock-rs # and go npx apimock # just use folders and JSON mkdir -p api/v1/ echo '{"hello": "world"}' > api/v1/hello.json npx apimock # response curl http://localhost:3001/api/v1/hello # --> {"hello":"world"} # also, there's room to tweak things later npx apimock --init ```
Chilarai M
💡 Bright idea

Nice, does it generate OpenAPI specs as well?
Great product!

nabbisen

@chilarai 

Thank you !!!

Well, as to driven-by-OpenAPI specs, It does not currently.

It is very interesting. Planned.

Chilarai M

@nabbisen Great!