thefrontside / simulacrum

A simulation platform for use during testing, during development and for high-fidelity application previews
85 stars 14 forks source link

github API simulator #238

Closed dagda1 closed 1 year ago

dagda1 commented 1 year ago

Motivation

This is a bit rough, but the primary motivation is to decrease the surface area of the code we bring into a client's project.

Importing a package is preferable to a tonne of code that a team has to maintain.

Approach

The main export is a function that takes a Graphgen factory and starts a @graphql/yoga server.

export function startGithubApiSimulator(factory: GraphGen): void

The world.graphql is purely for types

netlify[bot] commented 1 year ago

Deploy Preview for simulacrum canceled.

Name Link
Latest commit 117d193f78eb7d236f43684d88558a8dd8df35e9
Latest deploy log https://app.netlify.com/sites/simulacrum/deploys/638757a1da28750008751d14