fynntang

fynntang / MockAPI

Public

Lightweight local API mock server with Web UI. Zero dependencies. One binary.

25
3
100% credibility
Found Mar 12, 2026 at 20 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

MockAPI is a standalone app that creates local fake API servers with a visual dashboard for quick testing of web apps.

How It Works

1
🔍 Discover MockAPI

You find MockAPI while searching for an easy way to create fake APIs for testing your apps without real servers.

2
📥 Get the app

Download the single ready-to-run file that works on your computer right away.

3
▶️ Start your mock server

Run the app once and it instantly creates a local fake API server for you.

4
🌐 Open the web dashboard

Visit the built-in friendly webpage to see and manage your fake APIs visually.

5
Build fake responses

Drag and drop or type simple rules to make your fake APIs return any data you need.

6
Add real API designs
Skip and use basics

Stick with simple manual setups for quick testing.

🚀
Import full specs

Load complete API documents to mock entire services instantly.

7
🧪 Test your apps

Point your app to the fake server and watch it work perfectly with realistic data.

🎉 Develop faster

Now you build and test apps lightning-fast without waiting for real backends.

Sign up to see the full architecture

6 more

Sign Up Free

Star Growth

See how this repo grew from 20 to 25 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is MockAPI?

MockAPI runs a lightweight local API mock server as a single Go binary with zero dependencies, giving you a dark-themed web UI to define routes visually. Import Swagger specs to auto-generate endpoints, script dynamic JSON responses with JavaScript, and mock WebSockets, GraphQL queries, or gRPC-Web calls—all with hot reload, HTTPS, and proxy fallback. It's a dead-simple way to fake backends during frontend dev without Docker or node servers.

Why is it gaining traction?

Unlike heavier MockAPI alternatives, it packs GraphQL, WebSocket handlers, and Swagger imports into one portable binary that starts instantly via `mockapi serve --port 8080`. Devs love the conditional matching by headers/body, path params/wildcards, and 12+ response templates for quick setups. As a github lightweight alternative, it beats npm tools for zero-runtime friction, especially for local API prototyping.

Who should use this?

Frontend devs mocking betfair APIs or lightweight local endpoints during UI builds, backend teams testing clients without full services, or solo hackers needing a lightweight local web server for GraphQL/WS demos. Ideal for QA scripting edge cases via curl or JS responses, but skip if you need enterprise-scale traffic.

Verdict

Grab it for quick local mocks—docs shine with live demo at mockapi.work and solid CLI like `mockapi init`—but at 16 stars and 1.0% credibility, it's early (26 tests, basic coverage). Test small projects first; scales to lightweight local ai model endpoints but watch for production gaps.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.