graphql-playground
dociql
Our great sponsors
graphql-playground | dociql | |
---|---|---|
16 | 4 | |
8,666 | 350 | |
0.2% | 1.1% | |
0.0 | 0.0 | |
16 days ago | 8 days ago | |
TypeScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
graphql-playground
-
Migrating Netflix to GraphQL Safely
> FYI, GraphiQL is deprecated, GraphQL Playground is a good alternative.
You have this backwards.
https://github.com/graphql/graphql-playground/issues/1366#is...
-
Exploring GraphiQL 2 Updates and New Features
GraphiQL is a tool that was created to help developers explore GraphQL APIs, maintained by the GraphQL Foundation. But when GraphiQL became more and more popular, developers started to create additional GraphQL IDEs. A good example of this was GraphQL Playground, which quickly became the most popular GraphQL IDE. It was loosely based on GraphiQL, but had more features and a better UI.
-
GraphQL subscriptions at scale with NATS
Here, we'll create a simple GraphQL server and subscribe to a subject from our resolver. We'll use GraphQL playground to mock client side behavior. Once we're connected we'll use NATS CLI to send a payload to our subject and see the changes on the client.
-
GraphQL vs REST in .NET Core
Now we can consume created GraphQL API. In the GitHub Repo same functionality has been added with REST approach and GraphQL endpoint. Also widely used Swagger configured for Web API Endpoints as well as AltairUI added for GraphQL endpoint testing. Naturally, AltairUI it not a must for GraphQL, you can also use Swagger, GraphiQL, or GraphQL Playground.
-
Creating GraphQL Api Using NestJS For Multiple Databases
Navigate to http://localhost:3000/graphql. NestJS uses graphql playground by default. It's a lovely GraphQL IDE. We can check our schema here.
-
Keeping certain parts of your GraphQL schema hidden from Introspection
GraphQL is a popular and powerful way to build your APIs and power your website; we use it for most of our APIs at Anvil. One of the best things about GraphQL is that it provides an Introspection Query capability which allows users to explore and learn about what's possible in a given API. In that way, GraphQL is "self-documenting". Some great tools like Playground and Anvil's own SpectaQL leverage the Introspection Query.
-
Autogenerate GraphQL API documentation with SpectaQL
Traditionally, most of the above problems have been pretty unavoidable, but at Anvil most of our APIs are implemented in GraphQL. GraphQL requires the definition of a schema that describes all the types, fields, methods, arguments, return types, etc, and even allows for descriptions of most things to be included. In this way, GraphQL implementations are pretty self-describing, and great tools like GraphiQL or Playground already exist to leverage this attribute of the framework. Because of all this, I knew that there must be a better way to do documentation in GraphQL-land, and I sought out to find it.
-
Building a GraphQL API with Deno and gql
⚡ GraphQL Playground integration (via graphiql: true)
-
Building a CRUD-backend with GraphQL, TypeScript and TypeGraphQL
We will be testing these using GraphQL playground from Prisma. Go to "localhost:4000/graphQL" in your browser. In the GraphQL playground, you can write out different queries. To try out over resolver, we will write in the window:
-
A web framework I desperately wish there was a Rust equivalent for: FastAPI
Yes, as you build out your "schema", the documentation is generated automatically for the data structures. The "Playground" gives you a visual docs / schema view to see all of the parameters that are available for request at each nested layer, as well as all of the comments and documentation associated with each piece.
dociql
-
magidoc alternatives - dociql and graphdoc
3 projects | 4 Aug 2022
Magidoc is a GraphQL documentation generator
-
Introducing SpectaQL 1.0 - an even better way to autogenerate GraphQL API documentation
SpectaQL was originally forked from a project called DociQL to add some enhancements there. And DociQL was originally forked from a project called Spectacle to make it work with GraphQL. And (finally) Spectacle was designed to work with Swagger/OpenAPI. Swagger/OpenAPI is a specification designed to help standardize the description of REST APIs with many routes, and uses JSON Schema as the way to define Data Types/Models. This means that SpectaQL had to wrestle with several layers of history and transformations; making SpectaQL's enhancements fit into the DociQL world, which in turn had to make things fit into the Spectacle/Swagger/OpenAPI world.
-
Autogenerate GraphQL API documentation with SpectaQL
There was one solution we found that was the closest to what we were looking for: DociQL. It's an open-source, node.js project that describes itself like this: "DociQL generates beautiful static HTML5 documentation from a GraphQL endpoint using the introspection query." Awesome!
What are some alternatives?
spectaql - Autogenerate static GraphQL API documentation
graphiql - GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
graphql-voyager - 🛰️ Represent any GraphQL API as an interactive graph
prisma-dbml-generator - Prisma DBML Generator
nestjs-graphql-prisma-realworld-example-app - Example real world application built with NestJS, Prisma and GraphQL
gqlgen - go generate based graphql server library
juniper - GraphQL server library for Rust
oak-graphql - A simple graphql middleware for oak deno framework.
nodejs-api-starter - 💥 Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI. [Moved to: https://github.com/kriasoft/relay-starter-kit]
obsidian - GraphQL, built for Deno - a native GraphQL caching client and server module