All Projects → babyfish-ct → graphql-ts-client

babyfish-ct / graphql-ts-client

Licence: MIT license
Typescript DSL for GraphQL.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to graphql-ts-client

Graphql Up
Get a ready-to-use GraphQL API for your schema
Stars: ✭ 415 (+234.68%)
Mutual labels:  relay, apollo
Js Graphql Intellij Plugin
GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
Stars: ✭ 686 (+453.23%)
Mutual labels:  relay, apollo
Fraql
GraphQL fragments made simple ⚡️
Stars: ✭ 433 (+249.19%)
Mutual labels:  relay, apollo
d2a
A translator Django into SQLAlchemy.
Stars: ✭ 23 (-81.45%)
Mutual labels:  codegenerator, codegen
Reactconfbr
Public infos and issues about React Conf Brasil organization
Stars: ✭ 156 (+25.81%)
Mutual labels:  relay, apollo
periqles
React form library for Relay and Apollo
Stars: ✭ 124 (+0%)
Mutual labels:  relay, apollo
Graphql Crunch
Reduces the size of GraphQL responses by consolidating duplicate values
Stars: ✭ 472 (+280.65%)
Mutual labels:  relay, apollo
Get Graphql Schema
Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
Stars: ✭ 443 (+257.26%)
Mutual labels:  relay, apollo
Wora
Write Once, Render Anywhere. typescript libraries: cache-persist, apollo-offline, relay-offline, offline-first, apollo-cache, relay-store, netinfo, detect-network
Stars: ✭ 138 (+11.29%)
Mutual labels:  relay, apollo
Magiql
🌐 💫 Simple and powerful GraphQL Client, love child of react-query ❤️ relay
Stars: ✭ 45 (-63.71%)
Mutual labels:  relay, codegen
next-ts-graphql-apollo-starter
An opiniated Next powered starter which include support for Apollo with GraphQL SSR support, codegen, styled component / system, framer motion and Cypress
Stars: ✭ 18 (-85.48%)
Mutual labels:  apollo, codegen
graphql-cli-codegen
apollo-codegen plugin for graphql-cli
Stars: ✭ 22 (-82.26%)
Mutual labels:  apollo, codegen
modelina
Library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents.
Stars: ✭ 55 (-55.65%)
Mutual labels:  codegenerator, codegen
Graphql Ws
Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
Stars: ✭ 398 (+220.97%)
Mutual labels:  relay, apollo
hwt
VHDL/Verilog/SystemC code generator, simulator API written in python/c++
Stars: ✭ 145 (+16.94%)
Mutual labels:  codegenerator, codegen
Graphql Config
One configuration for all your GraphQL tools (supported by most tools, editors & IDEs)
Stars: ✭ 883 (+612.1%)
Mutual labels:  relay, apollo
graphql-client-example-server
A simple GraphQL server for powering examples of various GraphQL clients in various languages.
Stars: ✭ 34 (-72.58%)
Mutual labels:  relay, apollo
cmake-reflection-template
A template for simple C++ reflection done with CMake and Python (no other external tools)
Stars: ✭ 37 (-70.16%)
Mutual labels:  codegenerator, codegen
butte
No description or website provided.
Stars: ✭ 69 (-44.35%)
Mutual labels:  codegen
wongames
🎮 Ecommerce de jogos no estilo Steam. Desenvolvido com Next.js, TypeScript, GraphQL, etc.
Stars: ✭ 18 (-85.48%)
Mutual labels:  apollo

A new GraphQL client for TypeScript. it's TypeScript-DSL for GraphQL with full features.

  1. Supports GraphQL queries with strongly typed code.
  2. Automatically infers the type of the returned data according to the strongly typed query request, This is the essential difference between this framework and other similar frameworks, and it is also the reason why I created it.
  3. Because of point 2, unlike other client-side code generation tools and relay-compiler, the code generation work is one-time. Once the code is generated, it can be developed continuously until the server interface changes, without the need to generate code again and again.

Loading_GIF_Animation

Null & Undefined

For a long time, null and undefined have led to the differentiation of JavaScript/TypeScript development. This framework eliminates null and uniformly adopts undefined which is more friendly to TypeScript.

Get started

You can choose any of the following 4 ways

  • Step-by-step guide with nothing

  • Step-by-step guide with apollo-client

  • Step-by-step guide with relay

  • Step-by-step guide with graphql-state (Suggested)

    graphql-state is a collaborative framework tailored for graphql-ts-client, and is a complete react state management framework.

    • graphql-state is very smart. The essence of UI state is that one main mutation causes N extra mutations, the more complex the UI, the larger the N. graphql-state allows developer only focus on main mutation, all the extra mutations will be executed automatically. Compare with Apollo Client and Relay, after mutation, you neither need to update other affected data in the cache, nor need to determine which queries will be affected and need to be refetched.
    • graphql-state can map the REST service to GraphQL service on client-side, access REST service with GraphQL semantics, and enjoying syntactic sugar provided by graphql-ts-client.

Documentation

English Documentation | 中文文档

Notes

My npm packages are 'graphql-ts-client-api', 'graphql-ts-client-codegen' and 'graphql-ts-client-relay'. There is another package named 'graphql-ts-client' in npm repository, but that's not my framework.

Other projects:

jimmer,A revolutionary ORM for Java and Kotlin. You can quickly implement a GraphQL server by using only a small part of these functions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].