graphql-playground
dropshot
Our great sponsors
graphql-playground | dropshot | |
---|---|---|
16 | 11 | |
8,666 | 718 | |
0.2% | 4.3% | |
0.0 | 9.3 | |
16 days ago | 9 days ago | |
TypeScript | Rust | |
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.
dropshot
-
Tips on Creating a Design-First API Using Rust
Try dropshot by the Oxide Computer team. It generates an open api spec from your rust code directly.
-
Warp or Rocket.rs or Actix Web?
What about dropshot. Not much features but very simple and auto generates swagger https://github.com/oxidecomputer/dropshot
- Seed – A Rust front-end framework for creating fast and reliable web apps
-
New Tokio blog post: Announcing Axum - Web framework that focuses on ergonomics and modularity
i haven't tried it yet, but https://github.com/oxidecomputer/dropshot apparently offers automated OpenAPI generation: https://docs.rs/dropshot/0.5.1/dropshot/struct.ApiDescription.html
-
Rust for backend development?
At Oxide we are doing backend development in Rust, with our own framework: https://github.com/oxidecomputer/dropshot/#dropshot
-
A web framework I desperately wish there was a Rust equivalent for: FastAPI
Dropshot from Oxide Computer includes openapi generation from code.
-
Hey Come Help Out And Learn Some Stuff
Well, there is a project I've been putting off that you might take a stab at. I've been meaning to implement yet another webserver framework along the lines of dropshot. The basic idea with drop shot is to ditch the middleware approach and flatten out the framework. Some of the features that dropshot pushes are first class support for openapi (meaning specifications should be auto-generated from code) and to make the framework guide the developer towards not hiding parsing or functionality in a middleware that may or may not be wired up right (ie. did the body parser actually run?).
What are some alternatives?
graphiql - GraphiQL & the GraphQL LSP Reference Ecosystem for building browser & IDE tools.
spectaql - Autogenerate static GraphQL API documentation
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
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
juniper - GraphQL server library for Rust
dociql - A beautiful static documentation generator for GraphQL
gqlgen - go generate based graphql server library
rust-dominator - Zero-cost ultra-high-performance declarative DOM library using FRP signals for Rust!
tonic - A native gRPC client & server implementation with async/await support.
prae - prae is a crate that aims to provide a better way to define types that require validation.