Miragen
A fake API in seconds.
What it is
Miragen spins up a fake REST API with realistic data in seconds, for prototyping and testing against. It is pure Node with zero dependencies: a seeded data generator, an in-memory store, and a pure router that can be tested without ever opening a socket, with collections that support filter, search, sort and paginate (via X-Total-Count). It is a from-scratch build with latency and error simulation built in, that you can download and run locally.
Pure Node, zero deps: seeded generator + in-memory store + a pure router (tested without sockets). Collections support filter/search/sort/paginate (X-Total-Count); latency/error simulation built in.
What's inside
The full source, the tests, and CI. Open it, read it, change it. A zero-dependency core, free, in the MIT spirit.
Run it after unzip
pnpm install && pnpm dev