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: 23 days ago
JSON representation
A GraphQL mock to any GraphQL schema
- Host: GitHub
- URL: https://github.com/sibelius/graphql-mock-api
- Owner: sibelius
- Created: 2020-05-24T16:06:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T20:17:17.000Z (8 months ago)
- Last Synced: 2024-10-19T19:54:22.006Z (26 days ago)
- Topics: api, graphql, mock
- Language: JavaScript
- Size: 911 KB
- Stars: 30
- Watchers: 4
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
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
```