graphql-mesh
graphql-request
graphql-mesh | graphql-request | |
---|---|---|
12 | 30 | |
3,170 | 5,654 | |
- | 0.5% | |
9.9 | 9.4 | |
3 days ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
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-mesh
-
LlamaAcademy: Teach GPTs to understand API documentation with LoRA
I played with building out a graphql mesh [0] of a few different APIs as I was curious to see if I could build one schema (and subsets of it) and have GPT interface over that. Turns out, it did a pretty good job if you can provide it the right portions of the schema it needs.
It also helped out when I was struggling to reconcile with how large of JSON payloads I was getting. The REST endpoints are just killing the prompt size, but having the model choose the fields it needed from GraphQL really helped out there.
Put it down for a while until I can get access to the plugin fine-tuned version of chatgpt and see if there's still a need or if it is additive still.
[0] https://github.com/Urigo/graphql-mesh/
-
Uncovering Frontend Data Aggregation: Our Encounter with BFF, GraphQL, and Hydration
graphql-mesh is a tool that allows you to integrate backend microservices (whether they are REST with OpenAPI specs, GraphQL, etc.) into a single GraphQL Gateway. It's easy to set up as it generates schemas, queries, and mutations based on the provided specifications. You only need to implement additional properties for data aggregation
-
Are there any good GraphQL "passthrough" solutions?
You might be able to integrate existing API's with https://www.graphql-mesh.com/ but keep in mind this will add latency and you won't get all the full benefits of implementing native graphql services.
- Show HN: M3O – Universal Public API Interface
-
How not to learn GraphQL
Recent projects such as GraphQL Mesh or products such as Hasura Cloud proved that GraphQL has a purpose beyond the simple front-end/mobile apps fetching challenges.
-
Join multiple GraphQL APIs without Schema Stitching or Federation
I’ve seen more products letting you join/merge GraphQL schemas independent of schema stitching or federation. Have a look at GraphQL Mesh or StepZen.
-
Improving microservice architecture with GraphQL API gateways
Libraries like GraphQL Mesh, on the other hand, automatically stitch multiple data sources into one single GraphQL API. This can save development time, but, like libraries that do a lot for you, you may need to provide custom overrides.
-
GraphQL Mesh as a Gateway | Episode #1
GraphQL Mesh acts as a proxy to your existing APIs, and gives you the developer ultimate control over how data is retrieved. It doesn't matter if your API is GraphQL, gRPC, Swagger, Postgres, and non-typed APIs. GraphQL Mesh can figure out how to transform your GraphQL query to the respective API.
-
Making Open Source Easy - Orchestrating the Open Source Contribution Workflow
Doing this was pretty simple. You can find the repo here which is used as the master repository to push all the labels downstream and we still retain the repo specific labels in their own repository (like this)
-
Webhooks as GraphQL Subscriptions using GraphQL Mesh
You can find a complete working example on GitHub
graphql-request
-
A Simple Way to Sign AWS Requests with Signature V4
The aws-sigv4-fetch package can be integrated into GraphQL libraries like graphql-request. For example, you can pass the signedFetch function as the custom fetch option:
-
Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide
For Next.js projects, one of the options can be the typescript-graphql-request plugin. Under the hood this plugin works with the graphql-request library — a minimal, flexible, and easy-to-use GraphQL client. With typescript-graphql-request, we generate an SDK that is fully typed and allowing us to make strongly-typed GraphQL requests. This nicely integrates with data fetching in Next.js Server Components, enabling us to pre-render pages with data from Storyblok.
-
How to use SWR with GraphQL Apollo client?
but i don't want to use that external library
- Is graphql-request a good tool for only client side api? Share your feedbacks. Thanks 🙏
-
How to build a Snowflake API?
An example of a Snowflake API request using JavaScript. This example uses the graphql-request library to issue the actual GraphQL request. Install the dependency:
- 2022 Best GraphQL Client? Currently using GraphQL-CodeGen + Apollo Client
-
Four ways to fetch data from the GitHub GraphQL API in Next.js
I mentioned already we can use just about any client want when fetching GraphQL data. Prisma's graphql-request is a simple and lightweight option, and that is what I’ve used here.
-
Managing a Remix Site's Content With Sanity.io
To do this, you will make use of a tool called GraphQL Codegen to generate TypeScript types based on the GraphQL schema Sanity provides. You will then use graphql-request to actually fetch the data.
-
SvelteQuery vs KitQL vs others
What about https://github.com/prisma-labs/graphql-request that has 4.8k starts / 254 forks?
-
How do i type graphql????
If you don't want to use Apollo, I suggest using codegen + graphql-request. There is a codegen plugin for graphql-request that auto generates a typesafe client sdk with all your queries as methods on the graphql-request client. Super clean and lightweight. https://github.com/prisma-labs/graphql-request
What are some alternatives?
apollo-server - 🌍 Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
axios - Promise based HTTP client for the browser and node.js
mercurius - Implement GraphQL servers and gateways with Fastify
urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
openapi-to-graphql - Translate APIs described by OpenAPI Specifications (OAS) into GraphQL
SWR - React Hooks for Data Fetching
graphql-transform-federation - Convert your existing GraphQL schema into a federated schema
ky - 🌳 Tiny & elegant JavaScript HTTP client based on the browser Fetch API
apollo-angular - A fully-featured, production ready caching GraphQL client for Angular and every GraphQL server 🎁
apollo-client - :rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
react-table - 🤖 Headless UI for building powerful tables & datagrids for TS/JS - React-Table, Vue-Table, Solid-Table, Svelte-Table