json-server
5.7#18 in api mocking toolsFree planFree planAPISelf-hosted
Visit| Fact | json-server | Mockfly |
|---|---|---|
| Purpose | json-server creates a fake REST API with zero coding for testing and prototyping. | Mockfly creates hosted mock REST API endpoints so teams can build and test before a backend is ready. |
json-server suits developers who need a local mock REST API for testing or prototyping from a JSON or JSON5 file. It is also useful when a project needs basic filtering, sorting, and pagination without building an API first.
Mockfly suits frontend, backend, mobile, QA, and testing engineers who need shared mock APIs. It is also useful for teams that want to import API definitions, automate mock management, or serve projects locally offline.