https://github.com/ealmansi/graphqlzero
GraphQLZero: A simple, zero-config fake GraphQL API.
https://github.com/ealmansi/graphqlzero
Last synced: 3 months ago
JSON representation
GraphQLZero: A simple, zero-config fake GraphQL API.
- Host: GitHub
- URL: https://github.com/ealmansi/graphqlzero
- Owner: ealmansi
- License: mit
- Created: 2019-08-23T00:19:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-19T16:51:46.000Z (almost 2 years ago)
- Last Synced: 2025-05-04T11:45:04.902Z (8 months ago)
- Language: TypeScript
- Homepage: https://graphqlzero.almansi.me/
- Size: 3.62 MB
- Stars: 129
- Watchers: 3
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - graphqlzero - config fake GraphQL API. | ealmansi | 94 | (TypeScript)
README
# [GraphQLZero](https://graphqlzero.almansi.me)
## A Simple, Zero-Config Fake GraphQL API
[GraphQLZero](https://graphqlzero.almansi.me) is a free, online GraphQL API that you can use to get fake data from a real backend while testing or prototyping your app. It is inspired and powered by [JSONPlaceholder](https://jsonplaceholder.typicode.com/), serving the same dataset but in the form of a GraphQL server. You'll find it useful for learning more about GraphQL, writing tutorials, testing new libraries, and more.
## Get Started
First, check out the [example queries and mutations](https://graphqlzero.almansi.me/#examples) that you can run right from our website. The easiest way to get started is by visiting the [GraphQL API Playground](https://graphqlzero.almansi.me/api), where you can see the API's docs and run queries against the real backend.
1) GraphQL Playground: Query Execution.
2) GraphQL Playground: API Docs.
## Schema
[GraphQLZero](https://graphqlzero.almansi.me) is powered by [JSONPlaceholder](https://jsonplaceholder.typicode.com/) and serves the same dataset in the form of a GraphQL API. Six different types of entities exist: users, posts, comments, todos, albums, and photos. These entities are also related to each other; for example, a user has many posts, a photo belongs to an album, etc.
For more information on how to query different entities, check out the [examples](https://graphqlzero.almansi.me/#examples) or dive into the full schema in the [GraphQL API Playground](https://graphqlzero.almansi.me/api).