Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 23 days ago
JSON representation

A GraphQL mock to any GraphQL schema

Awesome Lists containing this project

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
```