Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/sibelius/graphql-mock-api

A GraphQL mock to any GraphQL schema
https://github.com/sibelius/graphql-mock-api

api graphql mock

Last synced: 16 days ago
JSON representation

A GraphQL mock to any GraphQL schema

Lists

README

        

# GraphQL Mock API

Send `schema` and `mocks` inside POST body to mock any GraphQL schema

```jsx
const schema = `
type Query {
user: User
}

type User {
name: String
}
`
const mocks = {
User: {
name: 'awesome'
},
}
```

# How to run
```shell script
yarn start
```