GraphQL Placeholder
Fake GraphQL API for testing and prototyping
What is this?
GraphQL Placeholder is great for frontend developers building GraphQL powered apps or for quick testing a GraphQL API. If you’re learning Apollo Client, GraphQL Placeholder gives you the following Types you can query;
Types
Mutations
There are also various mutations available that provide fake responses used in everyday development;
How?
You can send requests to https://api.graphqlplaceholder.com/ via a library like graphql-request.
Going forward
The application is completely available on GitHub. You can submit a PR for any additional queries/mutations that are useful.
I hope this project helps other’s getting started with Apollo + GraphQL and removes the worry of building an actual GraphQL server.