22 个仓库
Tools that automatically generate API endpoints from declarative data models.
Distinguishing note: Focuses on automatic API generation from code-defined schemas rather than manual endpoint implementation.
Explore 22 awesome GitHub repositories matching web development · Schema-Driven API Generators. Refine with filters or upvote what's useful.
Twenty is a headless customer relationship management framework that enables developers to build, version, and deploy custom business applications using code. By utilizing a declarative approach to data modeling, the platform allows for the definition of custom objects, fields, and complex relationships directly within the source code. This schema-driven architecture automatically generates corresponding REST and GraphQL APIs, ensuring that data structures and interface components remain synchronized across development and production environments. The platform distinguishes itself through a m
Automatically exposes REST and GraphQL endpoints by reflecting on declarative data models defined in the application source code.
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
Automatically transforms relational database schemas into functional HTTP endpoints for CRUD operations and data retrieval.
Prisma1 is a TypeScript object-relational mapper and type-safe database client designed for interacting with relational databases. It functions as a system for declarative schema modeling, where database structures are defined in a single schema file that automatically synchronizes with the underlying database. The project provides a type-safe query builder that generates a custom client to ensure database queries match defined schema types at compile time. It also includes a database GUI administrator, providing a visual web interface for browsing, editing, and managing relational database r
Automatically generates an API layer based on the declarative data model.
LoopBack is a Node.js API framework used to build RESTful services and backend applications. It functions as a model-driven API generator that automatically maps predefined data models to network endpoints to create standardized web interfaces. The project features a database abstraction layer that unifies access across diverse SQL databases, NoSQL stores, and remote data sources. It includes a backend application scaffolder using command-line generators to automate the creation of project structures and data connectors. Additionally, it provides an API authentication system to manage applica
Automatically generates REST endpoints by mapping predefined data models to network interfaces to reduce boilerplate code.
Swag is a documentation tool for Go that generates standardized API specification files by parsing declarative annotations within source code. It functions by analyzing source files to extract metadata from comments and function signatures, transforming them into machine-readable formats such as JSON or YAML. This process ensures that technical documentation remains synchronized with the underlying code structure throughout the development lifecycle. The tool distinguishes itself through its ability to perform static source code parsing and type-system reflection, which allows it to map compl
Generates API specifications automatically by parsing declarative annotations within source code.
Keystone is a GraphQL headless content management system and Node.js backend framework. It functions as a schema-driven data manager that automatically generates a GraphQL API and a React administrative dashboard based on a central data model configuration. The system uses an adapter-based database abstraction to decouple core logic from storage layers and a storage-provider abstraction for managing media assets via local or cloud drivers. It distinguishes itself through a component-based field rendering system and a hook-based middleware pipeline for data validation and automation. The fram
Automatically generates a GraphQL API and admin interface based on a central declarative data model.
atproto is a decentralized social networking protocol implementation and a schema-driven API framework. It provides the networking and data standards required to build interoperable social networks where users control their own identity and data through a personal data server specification. The project distinguishes itself through a DID-based identity system for managing cryptographic keys and verifiable profiles, alongside a lexicon-based protocol definition that uses versioned schemas to ensure consistency across network services. It utilizes Merkle Search Trees for verifiable data storage,
Produces type-safe validation and builder utilities from JSON schema files to ensure consistency across network services.
Cog is a machine learning packaging tool and containerized model wrapper that bundles models and their dependencies into standardized Docker containers. It functions as an environment manager and inference server, ensuring consistent model execution across different hardware systems by resolving GPU drivers, system libraries, and Python dependencies. The project distinguishes itself by automatically generating RESTful HTTP servers and OpenAPI schemas based on defined model input and output types. It manages large model weights as external fixtures to optimize image size and utilizes a slot-ba
Automatically generates RESTful HTTP servers and OpenAPI specifications from defined model input and output types.
API Platform is a headless content management system engine and framework used to build REST and GraphQL APIs. It utilizes schema-driven generation to automatically produce web endpoints based on predefined data model definitions. The platform focuses on semantic data modeling, using structured classes and ontologies to ensure information is organized for search engines and semantic web tools. It provides an automated OpenAPI specification generator and a declarative system for creating administration dashboards to manage data records without custom frontend code. The system includes capabil
Automatically produces REST and GraphQL endpoints by interpreting predefined data model definitions.
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
Exposes commerce data through a strongly typed GraphQL API defined by a declarative schema.
Realtime is a real-time data distribution and synchronization engine that enables applications to stream database changes and coordinate state between clients. It functions as a synchronization layer that monitors database write-ahead logs to provide change data capture and pushes updates to authorized clients via WebSockets. The project features a real-time presence server for tracking the online status of active users and a broadcast service for sending ephemeral messages without database persistence. It organizes communication through channel-based message routing and uses a structured JSO
Automatically generates web interfaces and endpoints directly from a data schema for CRUD operations.
anytype-ts is a TypeScript client library and offline-first knowledge base client designed for managing structured layouts and modular blocks within a private distributed database. It functions as a zero-knowledge data synchronizer and schema-driven API wrapper that enables the secure replication of encrypted data across devices. The library utilizes peer-to-peer connectivity and zero-knowledge encryption to ensure data remains private and unreadable to hosting infrastructure. It employs a schema-driven approach to compile data definitions into typed language bindings, ensuring consistent com
Compiles schema definitions into typed language bindings to ensure consistent communication between the client and data model.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Generates API schemas, client code, and documentation from declarative data models.
Extism is a cross-language WebAssembly plugin framework that lets applications written in any programming language load and execute plugins written in any other language. It provides a universal plugin system where host applications use idiomatic SDKs to load WebAssembly modules, call exported functions, and pass data back and forth, while plugin authors use development kits that handle memory management and host interaction so they can focus on business logic. The framework distinguishes itself through its comprehensive approach to cross-language integration, offering schema-driven binding g
Generates type-safe bindings from a shared schema to ensure consistent interfaces across host and plugin languages.
Trailbase 是一个后端即服务(BaaS)平台,以单个可执行文件的形式交付,集成了实时数据库引擎、身份和访问管理器以及类型安全的 API 生成器。它提供了一个全面的后端环境,包括基于 SQLite 的存储引擎和用于执行自定义逻辑的 WebAssembly 运行时服务器。 该平台通过自动将数据库模式转换为具有跨语言客户端绑定的 JSON API,以及允许执行用于服务器端渲染和自定义 HTTP 路由的便携式组件而脱颖而出。它还集成了向量数据库功能,以支持嵌入向量的存储和基于相似性的向量搜索。 该系统涵盖了广泛的操作功能,包括支持社交登录的用户认证、用于数据可见性的访问控制列表,以及用于实时数据更新的发布-订阅(pub-sub)同步。它还提供了通过 SQL 迁移管理数据库模式以及处理地理空间数据的工具。
Automatically transforms database schemas into typed JSON APIs with corresponding client-side bindings.
Nodal 是一个 Node.js API 框架,旨在构建以数据为中心的 Web 服务和使用结构化数据模型的 JSON API。它作为一个对象关系映射器,允许通过对象而不是原始 SQL 查询来查询和操作数据库记录。 该项目包括一个数据库迁移工具,用于跟踪和应用双向模式更改,以在不同环境中保持数据完整性。它还具有一个命令行界面,用于自动化远程托管环境的注册和配置。 该框架提供了模型驱动的 API 生成、无状态 JSON 处理和自动化远程 API 部署的功能。
Automatically generates API endpoints based on declarative data models to define response shapes and behavior.
Wire 是一个跨平台的代码生成器,也是 gRPC 和 Protocol Buffers 的实现。它将模式定义转换为 Kotlin、Swift 和 Java 的类型安全原生语言绑定,以确保分布式系统之间的一致数据交换和通信。 该项目提供了用于 Protocol Buffer 模式管理的专门工具,包括修剪未使用类型和按版本过滤字段以减小最终二进制大小的能力。它还处理命名空间管理,并允许创建自定义模式处理器以在编译阶段执行用户定义的逻辑。 该框架涵盖了广泛的功能,包括为同步和异步远程过程调用生成服务接口、将模式类型映射到原生语言原语,以及将消息序列化为 JSON。它还包括对生成可打包 (parcelable) 消息和用于测试的模拟客户端的支持。
Generates type-safe native language bindings that map schema definitions to specific programming language interfaces.
本项目是一个全栈开发框架和无代码 Web 应用构建器,旨在自动化网络接口和 API 文档的创建。它作为一个通过将可视化前端编辑器连接到服务器端逻辑来构建全栈 Web 应用的系统。 该平台作为一个多语言后端集成器和编排器,使用统一的通信层将前端组件连接到用多种不同编程语言编写的服务器端逻辑。它采用共享对象模型来维护客户端和服务器之间的同步,自动对齐网络契约和数据模式。 该系统包括一个用于通过拖放编辑器构建用户界面组件的图形设计工具。这种可视化方法允许通过将视觉交互映射到与后端数据模型同步的结构化表示来构建渐进式 Web 应用。
Automatically generates API documentation and network schemas from predefined shared object definitions.
Helios is a mobile backend as a service providing a server-side platform to manage user accounts, push notifications, and data synchronization for mobile applications. It functions as a REST API framework that automatically generates database tables and standard web service endpoints from defined data models. The project implements specialized services for the Apple ecosystem, including a Passbook service for managing digital passes and device registration. It also provides an in-app purchase verification service to decode purchase receipts and validate product identifiers through external ve
Automatically generates database tables and REST endpoints based on predefined data schemas.
Space Cloud 是一个自托管的云原生后端即服务 (BaaS) 套件。它作为一个基于 Kubernetes 的无服务器平台,提供 GraphQL 和 REST API 网关、数据库 API 生成器以及事件驱动的编排器。 该平台将 SQL 和 NoSQL 数据库模式转换为安全端点,消除了手动后端开发的需要。它通过允许远程数据连接脱颖而出,该功能可以在单个查询中组合来自内部数据库和外部 HTTP 微服务的记录。 该系统涵盖了广泛的功能,包括用于数据安全的基于规则的访问控制、实时数据同步以及用于云对象存储的统一接口。它还包括一个自动化引擎,用于响应数据库或文件系统事件来触发异步 Webhook 和无服务器函数。 部署通过 Kubernetes 管理,支持具有缩容至零 (scale-to-zero) 自动扩缩容能力的容器化工作负载。
Automatically generates API endpoints from declarative database models to eliminate manual backend development.