nowfound

Dev tools · June 27, 2023

GZ

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 →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • 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

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

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

  • Sivi AI938

    Generative AI to magically turn text to visual designs

    AI · 2023 · sivi.ai

  • Effortlessly publish on Twitter and LinkedIn, now with AI

    Growth · 2023 · typefully.com

  • Olvy 2.0827

    Analyze user feedback 10x faster with AI

    AI · 2023 · olvy.co

  • SlashPage760

    Create websites in seconds to build your first 1K community

    Growth · 2023 · slashpage.com

  • Simple landing page builder

    AI · 2023 · unicornplatform.com