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…
What it does
In the maker’s words, at launch
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
Does the same job
all alternatives →- GFGraphQL Faker – Mock or extend your GraphQL API with faked data2017 · github.com · ▲7
- HMHTTP Mock – Intercept, debug and mock HTTP(S) with zero setup2019 · httptoolkit.tech · ▲341




More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, June 2023
the whole month →- NI
Heya HN, I've been working on a reddit-like platform as my primary side project for the last few years. Doing a (very) soft launch today, mainly because I want to use it to encourage discussion of alternatives. How non.io works: 1. Free to browse, paid to interact. 2. Minimum subscription is $2 (though you can choose more). I take $1 to run the servers, everything left gets split evenly between everything you upvote that month. It's a simple model, but I hope it's a better one than the freemium model we've been relying on for the last few years. Fundamentally I feel like any ad-supported…
Commerce · 2023 · non.io

Typefully 2.0▲931Effortlessly publish on Twitter and LinkedIn, now with AI
Growth · 2023 · typefully.com

SlashPage▲760Create websites in seconds to build your first 1K community
Growth · 2023 · slashpage.com
