r/GoodOpenSource • • 3d ago

Free mock REST API with seeded (deterministic) data, filtering/pagination, auth and error simulation, now with a live URL

When the real backend isn't ready, I wanted a fake API that behaves like a real one, so I built one. The data is seeded: the same dataset + seed returns the same rows every run, so tests and snapshots stay stable.

It's got 21 datasets with full CRUD, filtering/sorting/search/pagination/cursors, nested relations, mock JWT/API-key/basic auth, error simulation (400-503 or random), latency presets, GraphQL, OpenAPI generation, code snippets in 15 languages, and mock WebSocket/SSE streams. You can import your own JSON/CSV too.

Two modes: Simulate (entirely in the browser, offline) and Live (a hosted, CORS-enabled endpoint you can call from a real app):
curl "https://forgeplug.com/api/mock/users?limit=5"

No signup. https://www.forgeplug.com/tools/mock-api-studio

Limit to know: the live endpoint serves the built-in seeded datasets, so it's for development and testing, not a real database.

What would you want it to support that other fake-API services don't?
2 Upvotes

3 comments sorted by

•

u/AutoModerator 3d ago

Please post a comment here explaining what kind of contributions you, or the project you are posting about, are looking for. For example what skill sets, any rules important for people joining in your build like how often people should post, and anything else you can think of which will help readers decide if they want to join in and start coding with that project.

Thank you and be excellent to each other. u/roamingandy

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Acceptable_Day_537 3d ago

Thanks! Here’s what I’m looking for with Mock API Studio (part of ForgePlug, a set of free browser-based dev tools):

Skills that help

  • TypeScript / React / Next.js (the whole app runs client-side)
  • REST API design: filtering, pagination, sorting, realistic seeded data generators
  • Testing (unit tests for the seeded data and query logic)
  • Docs and examples: short guides showing how to use it for frontend prototyping or demos

Good first contributions

  • New data schemas/templates (e.g. e-commerce, users, blog posts)
  • Bug reports with steps to reproduce
  • Feature ideas through issues before opening a PR

Ground rules

  • Open an issue before starting anything big, so we don’t duplicate work
  • Keep it client-side, with no signup and no paid dependencies. That’s the core idea of the project
  • Small, focused PRs. No set schedule; contribute whenever you have time
  • Be kind in reviews and discussions

1

u/mandarindiagram 3d ago

seeded data that stays identical across runs makes snapshot tests way less flaky. how do you handle schema changes without breaking old seeds?