FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
7 Protocols, 1 Binary, 0 Dependencies
How-ToWeb Development

7 Protocols, 1 Binary, 0 Dependencies

via Dev.to WebdevMockd18h ago

Last year I counted the mock tools running on my laptop. WireMock for HTTP (Java, 200MB Docker image). A custom Node script for WebSocket. Mosquitto for MQTT. A Go stub for gRPC. Four tools, four runtimes, four sets of config files, four ports to remember. I spent more time wiring up mock infrastructure than writing the code it was supposed to help me test. So I built mockd. One binary: mockd add http --path /api/orders --status 200 \ --body '{"orders": [{"id": "{{uuid}}", "total": {{faker.price}}}]}' Created mock: http_c9e4c315168bcfbe / Type: http / Method: GET / Path: /api/orders / Status: 200 curl http://localhost:4280/api/orders { "orders" : [{ "id" : "7e53e8ca-..." , "total" : 405.87 }]} HTTP done. Same binary, six more protocols to go. All 7 protocols Every protocol follows the same pattern: mockd add <type> , configure, hit the endpoint. No plugins. No extensions. No separate downloads. GraphQL mockd add graphql --path /graphql --operation GetUser \ --response '{"id":"1","name"

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
3 views

Related Articles

How-To

Learn Something Old Every Day, Part XVIII: How Does FPU Detection Work?

Lobsters • 20h ago

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 22h ago

How-To

How One File Makes Claude Code Actually Follow Your Instructions

Medium Programming • 22h ago

LeetCode Solution: 121. Best Time to Buy and Sell Stock
How-To

LeetCode Solution: 121. Best Time to Buy and Sell Stock

Dev.to Tutorial • 22h ago

The Feature Took 2 Hours to Build — and 2 Weeks to Fix
How-To

The Feature Took 2 Hours to Build — and 2 Weeks to Fix

Medium Programming • 23h ago

Discover More Articles