Gr

GraphQL Zero – AIs Mocking APIs

Hacker News

GraphQL Zero – AIs Mocking APIs

I made an API mocking tool that imports a schema, populates fake data, then runs a local server. This is helpful for testing APIs or advanced prototyping. A demo video is here: https://www.loom.com/share/abad2cdf325e4e0b9addea1e14406166?... There’s two fun things about this tool 1. the complete lack of configs and schema annotations. i.e. you don’t need to learn faker-js. You just need your existing GraphQL schema and to to swap out the server URL in your frontend code. 2. the depth. Your fake objects have relationships to other fake objects. And in proxy mode, real objects can have fake relationships to fake objects I built this on my journey to productize Backend GPT ( https://news.ycombinator.com/item?id=34503418 ). I forked the open source GraphQL Faker project. Then added in so many LLM calls that it costs me $1 in OpenAI credits every time I process a schema. I learned from BackendGPT that without gating, many will use free OpenAI calls for their own ends (and those ends are often very weird). So this time I open sourced as much code as possible but put a small amount behind my server. Next steps are supporting mutation mocking via code gen models and mocking other kinds of things (REST APIs, databases, etc) Open to any ideas here

Share card

Actual performance

7points
2comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, new, models · Missing: mac, agents, macos
88%88% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
79%79% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, open source, existing · Missing: https docs, excited, just released
79%79% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: calls · Missing: plus, platform, intuitive
36%36% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: video · Missing: mobile apps, ios, personal
32%32% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Suprmind
Suprmind33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Where 5 frontier AIs argue and correct each other's errors

Indie Hackers1ai
Fi
Fighting ICO Scammers with APIs51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Fighting ICO Scammers with APIs

Hacker News9
Op
OpenAPI OAuth 2.0 scopes enforcement for APIs66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

OpenAPI OAuth 2.0 scopes enforcement for APIs

Hacker News7
Ko
Kompy, a Wrapper for Komoot APIs30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kompy, a Wrapper for Komoot APIs

Hacker News1
AI
AIs debating the same question – they disagree on everything43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AIs debating the same question – they disagree on everything

Hacker News3
keychains.dev
keychains.dev75%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Give AI access to 6754+ APIs with zero credentials exposed

Product Hunt+175Developer Tools
Bo
Boltzmann Machines in TensorFlow with Examples: RBM, DBM, AIS64%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Boltzmann Machines in TensorFlow with Examples: RBM, DBM, AIS

Hacker News201
AI
AI Judges – 7 AIs Vote on Your Debates41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

AI Judges – 7 AIs Vote on Your Debates

Hacker News5
OnePrompt
OnePrompt43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Compare AIs in an instant

Product Hunt+4
Ma
Magpie – I built a CLI where AIs argue about my code19%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Magpie – I built a CLI where AIs argue about my code

Hacker News2