• Stars
    star
    126
  • Rank 284,543 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GraphQLZero: A simple, zero-config fake GraphQL API.

GraphQLZero

A Simple, Zero-Config Fake GraphQL API

GraphQLZero 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, 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 that you can run right from our website. The easiest way to get started is by visiting the GraphQL API Playground, where you can see the API's docs and run queries against the real backend.

GraphQL Playground: Query Execution

1) GraphQL Playground: Query Execution.

GraphQL Playground: API Docs

2) GraphQL Playground: API Docs.

Schema

GraphQLZero is powered by JSONPlaceholder 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 or dive into the full schema in the GraphQL API Playground.