DFIELDSOLUTIONS

Free software

LabMiragen: A fake API in seconds

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.

Free software1 sections · 2 min readBy Dezső Mező.mdFree softwareMiragen

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.

01About the app

Backend tooling

What to take away

  • 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.
  • Download: Miragen (ZIP)
We build this for clientsFull-stack

Read the full write-up

More from the lab

Browse all entries

Want this looked at on your own system?Start a conversation

5.0
“New shop, more orders in the first week.”Müller Márk · GeekCornerManaging Director · Hungary