15 مستودعات
Web frameworks that leverage static type systems to ensure data integrity and contract safety across API endpoints.
Distinguishing note: Focuses on end-to-end type safety in API development rather than generic type-checking tools.
Explore 15 awesome GitHub repositories matching web development · Type-Safe API Frameworks. Refine with filters or upvote what's useful.
This project is a high-performance web framework designed for building scalable server-side applications with minimal resource consumption. It provides a type-safe runtime environment that leverages static analysis to ensure consistent data structures across request handlers and server configurations, facilitating reliable API development. The framework distinguishes itself through a schema-driven validation layer that enforces strict data integrity for incoming requests and outgoing responses using standardized definitions. It utilizes an encapsulated plugin architecture that organizes appli
Ensuring end-to-end data integrity and catching potential bugs early by leveraging static type definitions throughout the entire request lifecycle.
Hono is a lightweight web framework built on Web Standard APIs that executes across JavaScript runtimes including Cloudflare Workers, Deno, Bun, and Node.js.
Ensures end-to-end type safety by sharing TypeScript definitions between server and client.
Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s
Synchronizes request and response types between server and client to ensure end-to-end type safety.
Moya is a network abstraction layer for Swift that provides a structured framework for defining and executing REST API requests. It functions as a type-safe API client that decouples network endpoint definitions from the underlying implementation details to prevent configuration errors and URL typos. The project distinguishes itself by using protocol-based endpoint definitions and a provider-coordinated execution model. It includes a system for mapping network responses to strongly typed objects and features a dedicated tool for generating type-safe network interface files from external REST
Transforms raw network bytes into strongly typed JSON objects or images using integrated serialization.
Encore is a distributed systems framework designed to unify backend development, infrastructure provisioning, and observability. It functions as an infrastructure-as-code platform that allows developers to define cloud resources, databases, and messaging topics directly within their application code. By analyzing these declarations at compile-time, the system automatically manages the deployment of cloud resources and security policies, ensuring parity between local development and production environments. The platform distinguishes itself through its integrated development experience, which
Provides a toolset for defining type-safe APIs with automated client library generation and network routing.
gqlgen is a schema-first Go library designed to build type-safe GraphQL servers. It functions as a code generation engine that transforms declarative GraphQL schema definitions into strongly-typed Go source code, ensuring strict alignment between the API contract and the underlying implementation. The framework distinguishes itself through its deep integration with the Go type system and its highly extensible build pipeline. By using schema-first development, it automates the creation of server boilerplate and resolver stubs, allowing developers to map schema fields directly to Go structs and
Ensures strict consistency between schema definitions and underlying data models through automated code generation.
Django Ninja is a high-performance framework for building type-safe REST APIs using Django. It functions as an OpenAPI API framework and a type-safe wrapper that utilizes Python type hints to handle request validation and response serialization. The project distinguishes itself by integrating Pydantic-based data modeling to convert JSON inputs into strongly typed Python objects. It automatically generates OpenAPI schemas and interactive documentation pages directly from defined endpoint signatures. The framework supports asynchronous request processing to handle concurrent tasks. It employs
Leverages Python's static type system to ensure data integrity and contract safety across API endpoints.
Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers
A web toolkit that uses Python type hints for automatic request validation and response serialization.
Type-graphql is a toolkit and framework for creating type-safe GraphQL APIs. It functions as a schema generator and resolver library that uses TypeScript classes and decorators as the primary source of truth for data structures and query logic. The project enables the definition of GraphQL schemas and resolvers through typed classes rather than manual schema definition language. This approach ensures that TypeScript types automatically align with the GraphQL schema to prevent runtime errors. The framework provides capabilities for API implementation, including input data validation and acces
Leverages the TypeScript static type system to ensure the GraphQL schema and API contracts align.
Hug is a type-driven Python web framework designed for building APIs. It uses Python type annotations to automatically validate and convert incoming request data and to format outgoing responses. The framework functions as an automated documentation tool by extracting function signatures and markers from source code to generate accessible API specifications. It also supports non-blocking coroutines for asynchronous API processing to handle background tasks without interrupting the main request cycle. The project provides capabilities for REST API development, including route mapping, endpoin
Leverages Python type annotations to ensure data integrity and contract safety across endpoints.
ServiceStack is a high-performance .NET web framework designed for building type-safe APIs using strongly-typed request and response objects. It functions as a message-based API engine that decouples business logic from the transport layer, allowing services to be exposed via multiple protocols including HTTP, gRPC, and various message queue providers. The framework is distinguished by its type-safe API generator, which produces native client SDKs and data transfer objects from service metadata across multiple languages. It also includes a distributed service gateway for microservices orchest
Provides a high-performance framework that ensures end-to-end type safety by sharing request and response objects between server and client.
Trailbase هي منصة خلفية كخدمة (BaaS) يتم تسليمها كملف تنفيذي واحد يدمج محرك قاعدة بيانات في الوقت الفعلي، ومدير هوية ووصول، ومولد API آمن للأنواع. توفر بيئة خلفية شاملة بما في ذلك محرك تخزين مدعوم بـ SQLite وخادم وقت تشغيل WebAssembly لتنفيذ المنطق المخصص. تتميز المنصة بتحويل مخططات قاعدة البيانات تلقائياً إلى JSON APIs مع روابط عميل عبر اللغات، ومن خلال السماح بتنفيذ مكونات محمولة للعرض من جانب الخادم ومسارات HTTP مخصصة. كما تدمج قدرات قاعدة البيانات المتجهية لدعم تخزين التضمينات والبحث المتجهي القائم على التشابه. يغطي النظام مجموعة واسعة من القدرات التشغيلية، بما في ذلك مصادقة المستخدم مع دعم تسجيل الدخول الاجتماعي، وقوائم التحكم في الوصول لرؤية البيانات، ومزامنة pub-sub لتحديثات البيانات الحية. كما يوفر أدوات لإدارة مخططات قاعدة البيانات عبر عمليات ترحيل SQL والتعامل مع البيانات الجغرافية المكانية.
Delivers REST and real-time endpoints with strict typing to ensure data integrity between server and client.
orpc is a contract-first API development framework for TypeScript that starts with a shared contract definition and generates type-safe clients and servers from that single source of truth. It guarantees end-to-end type safety, meaning inputs, outputs, errors, and streaming data are all checked at compile time across the client–server boundary. What distinguishes orpc from typical RPC frameworks is its ability to export contracts as OpenAPI specifications, to optimize server-side rendering by calling API handlers directly inside the server process, and to support real‑time bidirectional commu
A framework that defines typed API procedures with input/output validation and generates type-safe clients for end-to-end safety.
tsoa هو إطار عمل TypeScript API ومولد OpenAPI REST API. يقوم بتحويل وحدات تحكم ونماذج TypeScript إلى مواصفات OpenAPI وتكوينات التوجيه لخوادم Node، مما يضمن بقاء تعريفات الكود ووثائق API متزامنة. تعمل الأداة كمولد مواصفات OpenAPI ومدقق طلبات REST. تستخرج المسارات، ومخططات الطلبات، ونماذج الاستجابة من الكود المصدري لإنتاج مستندات OpenAPI قياسية وتوفر طبقة وسيطة للتحقق من أن حمولات HTTP الواردة تطابق المخططات المحددة بـ TypeScript. يغطي المشروع إدارة مسارات RESTful والتحقق من طلبات API. يستخدم تحليل النوع الثابت لتحويل أنواع اللغة إلى تعريفات مخطط JSON ويستخدم التوليد القائم على القوالب لتعيين بيانات تعريف وحدة التحكم إلى مسارات الخادم.
Leverages static type analysis to synchronize server routing, request validation, and API documentation.
This is a library for building command-line interfaces in Swift. It converts command-line arguments into type-safe Swift properties using a declarative approach, ensuring that inputs match expected data types to prevent runtime errors. The framework supports the creation of complex command hierarchies through nested subcommands. It automatically generates formatted usage documentation and error messages by deriving information from the defined metadata and types. The system utilizes property wrappers to attach parsing logic to types and employs reflection to extract metadata from property na
Provides a type-safe framework where command-line arguments and options map directly to Swift types.