22 个仓库
Frameworks for defining HTTP endpoints and processing incoming web requests.
Distinguishing note: Focuses on the routing definition layer for serverless or web applications.
Explore 22 awesome GitHub repositories matching web development · API Routing. Refine with filters or upvote what's useful.
Puter is a browser-based desktop environment and cloud-native development platform that provides a virtualized graphical workspace. It enables developers to build and deploy full-stack web applications by integrating cloud storage, authentication, and serverless backend logic directly into the browser, eliminating the need for traditional server infrastructure. The platform distinguishes itself through a unified cloud storage layer and a distributed network runtime that facilitates peer-to-peer communication and cross-origin resource fetching. It features a sophisticated cross-window orchestr
Creates API endpoints for various HTTP methods to process incoming web requests.
Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an
Creates standard API URL patterns for common CRUD actions.
Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the infrastructure necessary to build HTTP/2 web applications, REST APIs, and MVC-based websites. The project distinguishes itself through a flexible architectural model that supports multiple isolated application instances within a single process and allows for binary-embedded asset loading to eliminate external filesystem dependencies. It features dynamic router hot-reloading and a pluggable view engine for rendering dynamic HTML content. The framework covers a broad range of capabilities,
Manages incoming requests using advanced routing features like dynamic paths, wildcards, and subdomains.
Hapi is a configuration-driven web framework for building secure and scalable HTTP servers and APIs on the Node.js runtime. It functions as a REST API development framework and an enterprise server implementation focused on stability, security, and comprehensive input validation. The framework is built around a plugin-based architecture, allowing core functionality and custom logic to be organized into modular, registerable plugins. It serves as an HTTP request lifecycle manager, enabling the interception and modification of requests through pre-handlers and extensions before they reach the f
Maps HTTP methods and URI paths to specific handler functions for processing API requests.
EmDash is an open-source content management system built on Astro that combines a visual admin panel with a plugin-driven architecture and server-side rendering. It provides a complete content management system with structured content modeling, a rich text editor using Portable Text format, and a TypeScript API for type-safe content queries. The system supports authentication through passkeys, OAuth 2.1, and external providers, with role-based access control and fine-grained permission scopes. What distinguishes EmDash is its plugin development framework, which supports both native plugins ru
Registers custom HTTP endpoints under a scoped path that return JSON responses from plugin logic.
EverShop is a TypeScript-first, modular e-commerce platform built with GraphQL and React. It provides a full-featured online store system for managing products, orders, customers, and site content through a React-based administrative interface, with a GraphQL API layer that serves both the admin panel and storefront. The platform is designed around a module-based extension architecture, where core functionality is split into independent modules that can be added, removed, or overridden without modifying the core codebase. Storefront appearance and behavior are controlled through a theme syste
Provides a system for defining custom API routes with validation and middleware for frontend data submissions.
Boto3 is the AWS SDK for Python, providing a programmatic interface for managing and automating AWS cloud infrastructure and services. It serves as a cloud management API client and resource manager for provisioning, configuring, and scaling virtual servers, databases, and storage. The library enables the implementation of infrastructure-as-code through declarative templates and scripts, allowing for the deployment of identical resource stacks across multiple accounts and geographic regions. It also provides a framework for coordinating distributed workflows, serverless functions, and contain
Routes requests from mobile and web applications to backend services running on serverless functions or virtual machines.
This project is a software engineering style guide and a curated collection of architectural patterns and coding standards. It provides a multi-language coding standard to ensure maintainable software across Ruby, Python, JavaScript, and Swift. The project establishes a development workflow specification for version control, continuous integration, and peer review to maintain a linear project history. It also includes a web accessibility framework based on ARIA and WCAG standards, using design tokens and semantic HTML patterns to build inclusive interfaces. The guides cover a broad range of
Implements predictable naming patterns to map incoming URLs to specific controllers for consistent API structure.
Loco is a full-stack web framework for Rust designed to accelerate application development using a convention-over-configuration approach. It functions as an MVC web framework that provides a structured environment for building web applications and REST APIs. The project distinguishes itself through an integrated API development toolkit and a command-line scaffolding engine. These tools automate the creation of controllers, models, and migrations, allowing for the rapid generation of functional CRUD resources and application boilerplate. The framework covers a broad range of backend capabili
Provides a system for mapping incoming URL requests to specific controllers and route sets.
Mockoon is an HTTP API simulation platform and design tool used to create fake API endpoints that simulate server responses without a backend. It functions as an OpenAPI mock server tool and a JSON API mocking utility, allowing for the rapid iteration of API contracts and the generation of response templates. The project distinguishes itself through a combination of stateful mocking, using a local JSON database to simulate CRUD operations, and the ability to run as a headless API mock server via a command line interface. It supports real-time collaborative editing and AI-assisted prototyping
Allows disabling specific routes or folders at runtime using unique identifiers or path keywords.
CTFs as you need them
Ships a plugin system that registers custom HTTP endpoints for extending platform functionality.
Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a distributed service broker, task orchestrator, and service mesh framework, enabling a decentralized architecture with built-in service discovery and load balancing. The project differentiates itself through a pluggable transport layer supporting protocols such as NATS, Redis, TCP, and Kafka, as well as a dedicated microservices API gateway that maps external HTTP and WebSocket requests to internal service actions. It includes built-in fault tolerance mechanisms, including circuit breake
Defines HTTP endpoints and routes with independent path prefixes and authorization settings for organized request handling.
Waku is a minimal React framework built around React Server Components. It renders components exclusively on the server for data fetching and server-side logic, then hydrates client components in the browser for interactivity. The framework supports hybrid rendering, mixing static prerendering at build time with dynamic per-request rendering within a single application, and allows independently loading slice components that can be static or dynamic. The framework distinguishes itself through its file-based routing system that defines pages, layouts, and API endpoints by placing files in a dir
Creates server-side endpoints that handle HTTP requests and return JSON responses for client-side consumption.
JLRoutes 是一个 iOS URL 路由库和路由管理框架。它作为一个深度链接处理器,将 URL 模式映射到特定的代码块或对象处理器,以管理应用内的导航和深度链接。 该框架利用基于链的评估系统来处理潜在匹配序列,并支持将路由表组织成基于 URL 方案的不同集合。它允许通过自定义定义解析来替换标准匹配逻辑,以控制路径的解析方式。 该系统涵盖了 URL 模式映射、从路径段提取动态参数以及通配符路径捕获。它还包括用于基于协议的目标委托和注册可选路由段的功能。
Allows developers to define custom matching logic by implementing specialized definition classes.
本项目是一个客户端路由教程和学习资源,用于将路由集成到 React Web 应用中。它提供了一系列增量的、可运行的应用和指南,教用户如何将 URL 映射到组件并在浏览器内管理导航状态。 该资源包括用于配置嵌套路由、捕获动态 URL 参数和处理索引路由的实用实现指南。它还提供服务器端渲染示例,以演示如何生成服务器端 HTML 以提高初始加载速度和搜索引擎优化。 该教程涵盖更广泛的功能,包括单页应用导航、分层 UI 布局以及浏览器路径到特定 UI 组件的映射。
Teaches how to specify default components for parent routes when no child path is requested.
ServiceStack 是一个高性能 .NET Web 框架,专为使用强类型请求和响应对象构建类型安全的 API 而设计。它作为一个基于消息的 API 引擎,将业务逻辑与传输层解耦,允许通过包括 HTTP、gRPC 和各种消息队列提供商在内的多种协议公开服务。 该框架的特点是其类型安全的 API 生成器,它从跨多种语言的服务元数据中生成原生客户端 SDK 和数据传输对象。它还包括用于微服务编排的分布式服务网关、将 C# 对象直接转换为数据库记录的代码优先 ORM,以及用于安全令牌访问的集中式身份和访问管理系统。 其更广泛的功能面涵盖通过 Pub-Sub 和服务器发送事件(SSE)进行的异步消息传递和实时事件流。它为 JSON、XML、ProtoBuf 和 MessagePack 等格式提供全面的数据序列化支持,以及包括 JWT、API 密钥和阶梯式认证在内的集成认证流程。其他工具包括自动 CRUD API 生成、后台作业执行和管理仪表盘模板。
Binds HTTP requests to strongly typed C# objects to decouple business logic from the transport layer.
FastRoute 是一个 PHP 请求路由器,用于将传入的 HTTP 请求 URI 映射到特定的处理程序。它作为一个正则表达式路由器,将动态请求路径与模式进行匹配以提取变量并路由流量。 该项目作为缓存路由分发器运行,存储预计算的路由表,以消除每次请求时解析定义的开销。它利用正则表达式分组将多个路由模式组合成单个操作,从而减少了解析所需的匹配步骤总数。 该库通过使用占位符模式和可选段来涵盖动态 API 端点管理。它提供了基于组的前缀功能以组织端点,并允许通过替换解析器、数据生成器或分发器来实现自定义路由逻辑。
Offers extensibility points to implement custom matching logic by replacing internal routing components.
koa2-note 是一个专注于 Koa2 Web 服务器开发和 Node.js 异步编程的项目。它提供了一个使用异步中间件管道处理请求和响应周期的 Web 服务器和 API 构建框架。 该项目强调分层后端架构,将路由、业务服务和数据模型解耦。其特色在于集成了用于持久化用户会话和应用数据的关系型数据库,以及包含用于前端资源 JSX 转 JavaScript 编译的构建过程。 功能范围涵盖后端 API 设计(包括 RESTful 路由和请求数据解析)以及使用模板引擎的服务器端渲染。它还包括对使用多部分流解析的异步文件上传、基于 Cookie 的会话管理以及用于跨域请求的 JSONP 实现的支持。 该仓库作为一个教育资源,提供了学习 Koa 框架实现和服务器架构的结构化教程和示例。
Provides custom URL matching logic to route incoming traffic to specific handler functions.
LoopBack Next 是一个用于构建 REST 和多协议 API 的 Node.js API 框架。它作为一个 OpenAPI 服务器实现,既可以从代码生成机器可读的规范,也可以从现有规范生成实现控制器和模型。 该框架的特色在于中央依赖注入容器和存储库模式的数据访问层。这种架构将应用程序逻辑与组件构建和持久化存储解耦,允许通过标准化的连接器系统实现数据源和业务逻辑隔离的可插拔系统。 该项目涵盖了广泛的功能,包括具有可插拔身份验证策略的基于角色的访问控制,以及外部 REST 和 SOAP 服务的编排。它还通过命令行界面提供用于 WebSocket 端点实时通信、JSON 模式验证和自动化项目脚手架的工具。 开发过程由一套 CLI 工具支持,用于引导应用程序、生成 API 组件和管理项目依赖项。
Defines business-logic controllers to handle incoming HTTP requests and return structured responses.
该项目是一个多协议 API 模拟和 Mock 系统,旨在开发和测试期间替换外部依赖。它提供了一个 API Mock 服务器、网络流量代理,以及针对语言模型服务和身份提供商的专用模拟器。 该系统以其深度的 AI 模拟能力脱颖而出,包括模拟语言模型提供商和使用 JSON-RPC 2.0 的模型上下文协议 (MCP) 服务器。它支持多轮对话逻辑、AI 聊天 API 的状态跟踪,以及通过调用图和 Token 使用量跟踪实现代理执行的可视化。 广泛的功能领域包括针对 OpenAPI 规范的 API 契约测试、通过网络故障注入实现的韧性和混沌工程,以及用于实时请求修改的实时流量拦截。该项目还管理针对 OIDC、OAuth2、SAML 2.0 和 SCIM 2.0 标准的身份提供商模拟。 该服务器可以作为 Docker 容器、通过 Kubernetes Helm Chart 或作为独立的二进制文件部署。
Executes uploaded WebAssembly binary modules to implement complex request validation logic beyond standard pattern matching.