Skip to content

About

This project is a NestJS GraphQL implementation of the popular JSON Placeholder API, providing developers with a GraphQL playground for testing and experimentation.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

43 stars

Watchers

1 watching

Forks

Repository files navigation

GraphQLPlaceholder

GraphQL Placeholder is a zero-config GraphQL API built with NestJS that mirrors the popular JSONPlaceholder dataset, designed for rapid frontend and API prototyping.

It provides a realistic GraphQL playground for experimenting with queries, mutations, relationships, and filters—without setup or authentication.


Why This Exists

Frontend and API developers often need a stable, realistic GraphQL backend to prototype features, test data flows, or explore schema design.

GraphQLPlaceholder solves this by exposing familiar JSONPlaceholder data through a clean GraphQL schema with support for relationships and nested queries.


What It Provides

  • Zero-config GraphQL API (no signup, no setup)
  • Query & mutation support
  • “Has-many” relationships and nested queries
  • Filtering and basic query composition
  • Interactive GraphQL Playground
  • Cross-origin support (CORS / JSONP)
  • Compatible with modern frontend frameworks (React, Vue, Angular, etc.)

Tech Stack & Design

  • NestJS for structure, scalability, and maintainability
  • GraphQL schema-first API design
  • TypeScript for safety and clarity
  • Designed to be stateless, fast to spin up, and easy to reason about

Use Cases

  • Frontend prototyping and demos
  • GraphQL query experimentation
  • Learning and testing GraphQL relationships
  • Mocking APIs during early product development

Getting Started

Explore the interactive playground and examples here:
👉 https://graphqlplaceholder.vercel.app/guide


Contributing

Contributions are welcome.
See CONTRIBUTING.md for guidelines.


License

This project is licensed under the MIT License - see the LICENSE doc for details.


Built and maintained by Enoch Osarenren

About

This project is a NestJS GraphQL implementation of the popular JSON Placeholder API, providing developers with a GraphQL playground for testing and experimentation.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

43 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages