46 Repos
Tools that generate type-safe client code from API specifications to ensure consistency.
Distinct from API Client Generators: Focuses on generating type-safe client code specifically for frontend-backend communication.
Explore 46 awesome GitHub repositories matching web development · Type-Safe Client Generators. Refine with filters or upvote what's useful.
Axios is an isomorphic, promise-based HTTP client designed for making asynchronous network requests across different JavaScript execution environments, including the browser and Node.js. It functions as a JSON API client that serializes JavaScript objects into JSON and parses server responses into structured data. The project features a system for managing reusable client instances with shared configurations, such as base URLs and default settings. It includes a mechanism for intercepting outgoing requests and incoming responses globally, allowing data to be transformed before it reaches the
Generates type-safe client code and validators from schemas to ensure request and response consistency.
fuels-ts is a TypeScript SDK and development toolkit for the Fuel blockchain. It provides a library for executing transactions and querying blockchain state, alongside a set of utilities for smart contract development and deployment. The toolkit includes a local blockchain node runner that supports hot-reloading to enable rapid testing and iteration. It further distinguishes itself by generating type-safe TypeScript definitions from smart contract specifications to ensure compile-time validation of function calls. The project covers a broad range of capabilities including wallet derivation u
Generates type-safe TypeScript definitions from smart contract specifications to ensure compile-time validation of function calls.
yapi is an API management platform designed to coordinate the development of RESTful APIs between frontend, backend, and quality assurance teams. It functions as a centralized system for documenting interface specifications, simulating server responses, and validating requests through a built-in testing client. The platform features an API code generator that transforms interface specifications into typed request functions and data models across multiple programming languages. It also includes a mock server capable of generating synthetic responses using schema-based generators and rule-based
Creates typed request functions and data models in multiple languages based on defined interface specifications.
Subql is a blockchain data indexing framework and TypeScript-based indexer used to extract raw blockchain events and transactions and transform them into structured, queryable data entities. It functions as a data API and a tool for building decentralized application backends, providing a query interface for type-safe access to indexed blockchain data. The project includes an AI-powered query engine that utilizes large language models to translate natural language questions into structured GraphQL queries. This system can orchestrate multi-step queries by breaking down complex requests into s
Generates TypeScript type definitions from blockchain contract interfaces to ensure type safety during data processing.
APIJSON is a no-code database API generator and object-relational mapping layer that automatically transforms relational database schemas into functional HTTP endpoints. It provides a system for generating CRUD operations and technical documentation without the need to write manual backend code. The project is distinguished by its ability to allow clients to define custom JSON response structures and field aliases directly within the request. It features dynamic query translation that converts structured JSON parameters into optimized SQL for complex relational joins, subqueries, and data agg
Generates ready-to-use request snippets for frontend clients and scripts based on defined API queries.
Amplication is a low-code API platform and backend service generator designed to accelerate the development of business domain services. It automates the creation of APIs and data models through schema-driven code generation, transforming structured definitions into executable backend source code. The platform functions as a developer portal orchestrator that establishes standardized workflows and golden paths for software delivery. It enforces organizational coding standards and best practices by applying live templates and predefined blueprints across all generated services. The system inc
Derives TypeScript definitions and hooks from server schemas to synchronize data structures between frontend and backend.
Quicktype is a multi-language model generation engine that converts JSON and GraphQL schemas into type-safe models and serialization code. It functions as a JSON to type generator and a GraphQL type generator, producing strongly typed classes and interfaces across a wide array of target programming languages. The system derives formal schemas from sample data and transforms these definitions into native language objects. This enables the synchronization of shared data models across diverse tech stacks and the development of type-safe interfaces for consuming external APIs. The engine utilize
Creates strongly typed data models and serializers from schemas or sample data.
This project is a type-safe GraphQL client generator and TypeScript schema compiler. It transforms GraphQL schema definitions and operation documents into static TypeScript types to ensure compile-time validation and data consistency between an API and a frontend application. The system functions as a customizable GraphQL plugin framework. It uses a plugin-based architecture and a custom pipeline to generate tailored API clients and request functions, eliminating the need for manual type declarations. The project covers GraphQL client automation, type generation, and workflow optimization. I
Generates type-safe client code from GraphQL specifications to ensure consistency between the server and client.
Refit is a type-safe REST client for .NET that transforms API definitions into live interfaces. It functions as an automatic API proxy generator, allowing developers to define endpoints as interfaces to eliminate manual HTTP request boilerplate. The library is designed for compatibility with ahead-of-time compilation and trimmed binaries, utilizing build-time source generation to ensure support for native AoT deployments. The project covers a broad range of API integration capabilities, including attribute-driven request composition, automatic JSON deserialization, and request header managem
Transforms API definitions into live, type-safe interfaces to eliminate manual HTTP request boilerplate.
Hardhat is a smart contract development framework and EVM tooling suite designed for the full lifecycle of Ethereum and EVM-compatible applications. It serves as a development environment for compiling, testing, and deploying smart contracts, providing a local blockchain simulation and a programmable task runner. The framework is distinguished by its extensive simulation capabilities, including the ability to fork remote network state and manipulate block time or account balances. It features a hook-based plugin system that allows for the extension of core functionality and the creation of cu
Generates TypeScript type definitions from smart contract ABIs to ensure call-site safety.
oapi-codegen is a suite of generators that converts OpenAPI 3 specifications into type-safe Go client libraries, server boilerplate, and data models. It provides tools for producing production-ready HTTP clients and server-side interfaces to ensure that Go implementations remain compliant with defined API contracts. The tool supports server generation across various web frameworks and allows for extensive customization via template overrides, specification overlays, and custom type definition mappings. It handles complex API requirements through external reference resolution to organize code
Produces type-safe request and response handlers for Go applications based on API specifications.
Vendure is a Node.js e-commerce engine and headless commerce framework built with NestJS and TypeScript. It serves as a multi-channel commerce platform that manages product catalogs, orders, and customers via a strongly typed GraphQL API. The platform is distinguished by its highly extensible architecture, featuring a customizable administrative dashboard where developers can inject custom React components and entity views. It supports multi-channel commerce, allowing the isolation of products, currencies, and regional catalogs from a single unified backend. The engine covers a broad range o
Provides tooling to generate TypeScript types from GraphQL schemas for type-safe API communication.
Twirp ist ein Protocol-Buffers-RPC-Framework, das für die Implementierung von typsicherer, verteilter Microservices-Kommunikation über HTTP entwickelt wurde. Es fungiert als Framework für die Microservices-Kommunikation und als API-Codegenerator, der stark typisierte Client-Stubs und Server-Interfaces aus Schemadefinitionen erstellt, um manuellen Netzwerk-Boilerplate-Code zu eliminieren. Das Framework stellt die Kompatibilität mit bestehender Web-Infrastruktur sicher, indem es Remote Procedure Calls über Standard-HTTP-Transport ausführt. Es verwendet schema-gesteuerte Verträge als Single Source of Truth, um sprachübergreifende Interoperabilität zu ermöglichen und Geschäftslogik vom Netzwerktransport zu entkoppeln. Das System deckt mehrere Kernbereiche ab, einschließlich interface-gesteuertem Routing, Daten-Serialisierung in mehreren Formaten (unterstützt sowohl JSON als auch Binärdaten) und Request-Lifecycle-Middleware für übergreifende Belange. Es bietet zudem ein standardisiertes Fehlermeldesystem, um Dienstfehler in maschinenlesbare Codes zu übersetzen, und enthält Tools zur Überprüfung der Client-Kompatibilität.
Generates type-safe client and server code from API specifications to eliminate manual network boilerplate.
NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera
Produces type-safe client libraries and data transfer objects from an OpenAPI specification.
NSwag is a toolchain for the .NET ecosystem designed to automate the generation of API documentation, server controllers, and typed client proxies from OpenAPI contracts. It functions as a contract-first API tool that enables the creation of server-side boilerplate and client libraries based on predefined specifications. The suite distinguishes itself through its ability to extract OpenAPI specifications from existing ASP.NET Core code via reflection and its capacity to generate type-safe TypeScript client proxies. It also provides an interactive documentation server that hosts and renders th
Provides a generator that produces type-safe TypeScript client proxies from OpenAPI specifications to ensure frontend-backend consistency.
GrowthBook is a feature flagging and experimentation platform that utilizes a warehouse-native approach to data analysis. It serves as a system for managing feature rollouts and conducting A/B tests by executing SQL queries directly against existing data warehouses to calculate experiment results. The platform is distinguished by its integration of a Model Context Protocol server, which allows AI coding assistants and IDEs to manage flags and query analytics using natural language. It also provides specialized capabilities for AI model optimization, enabling the testing of prompts and models
Automatically creates TypeScript interfaces from remote configurations to ensure consistent flag names and value types.
This project is a curated directory and index of resources for Solidity smart contract development. It provides a categorized collection of libraries, development frameworks, security tools, and educational materials used to build and deploy decentralized applications. The repository functions as a comprehensive catalog for the software development lifecycle, featuring a specific index of community-vetted modular building blocks and token standard implementations. It also maintains a dedicated list of security resources, including static analyzers and fuzzers, to assist in auditing and securi
Indexes tools that generate strongly-typed bindings from smart contract ABIs for safer application-to-contract communication.
SQLDelight is a Kotlin database library that validates SQL schema, statements, and migrations at compile time, generating type-safe Kotlin query functions from labeled SQL files. It treats SQL as the source of truth for database definitions, catching schema errors during the build process before they reach production. The library supports multiple database dialects including SQLite, MySQL, PostgreSQL, HSQL, and H2, and generates platform-specific code for Android, iOS, JVM, and JavaScript targets. It provides a platform-specific driver abstraction that handles database connectivity difference
Generates type-safe database access APIs from SQL schema and queries at compile time.
Wagmi is a collection of reactive hooks and a toolkit for interacting with Ethereum blockchains. It provides a comprehensive suite of primitives for managing wallet connections, reading smart contract data, and orchestrating on-chain transactions. The project distinguishes itself through a smart contract interface toolkit that retrieves binary interfaces to generate type-safe hooks and function wrappers. This ensures that blockchain inputs and outputs are validated at compile-time. It also features a specialized utility for translating Ethereum Name Service domains into wallet addresses and p
Generates TypeScript type definitions from smart contract ABIs to ensure compile-time safety for blockchain calls.
Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati
Generates fully typed TypeScript API clients, hooks, and mocks from OpenAPI specifications.