awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
typestack avatar

typestack/routing-controllers

0
View on GitHub↗
4,508 نجوم·394 تفرعات·TypeScript·MIT·6 مشاهدات

Routing Controllers

routing-controllers هو موجه API تصريحي ومتحكم إطار عمل ويب لـ TypeScript. يوفر نظاماً لتحديد مسارات HTTP ومنطق معالجة الطلبات باستخدام مصممات (decorators) قائمة على الفئات وبيانات وصفية لتنظيم نقاط نهاية API في بنية منظمة.

يستخدم المشروع تكامل خادم قائم على المحولات لفصل منطق التوجيه عن إطار عمل الويب الأساسي، مما يوفر تكاملات محددة لـ Express و Koa. يتميز بنظام تحويل النوع القائم على الانعكاس الذي يتحقق من معاملات الطلب الواردة ويحولها إلى مثيلات فئة مكتوبة.

تغطي مساحة القدرة خط أنابيب طلب-استجابة كاملاً، بما في ذلك تنفيذ الوسيط، واعتراض الاستجابة، وإدارة الأخطاء العالمية. يدعم أدوات توجيه متقدمة مثل بادئة المسار العالمية، واكتشاف المكونات القائم على نظام الملفات، وتكامل حقن التبعية. تشمل الوظائف الإضافية التحكم في الوصول القائم على الأدوار، وحقن المستخدم المصادق عليه، ومعالجات متخصصة لتحميل الملفات وبث الاستجابة.

Features

  • Class-Based Logic Organization - Organizes API endpoints into structured classes using decorators to define routes and shared behaviors.
  • REST API Frameworks - Provides a declarative system for building JSON APIs with automated response formatting and input validation.
  • Integration Adapters - Decouples routing logic from underlying web frameworks using adapters for Express and Koa.
  • Reflection-Based Data Mapping - Uses reflection and metadata to convert plain JSON request data into typed class instances.
  • Request Validation - Validates and transforms incoming request parameters into typed class instances using reflection.
  • Declarative API Router Registrations - Implements a declarative system for defining HTTP routes and request handling using class-based decorators.
  • Automatic Parameter Injection - Automatically extracts data from request bodies or headers and injects them as typed arguments into handler methods.
  • Parameter Coercion and Validation - Validates and coerces incoming request parameters against defined types and constraints, returning structured errors on failure.
  • Express Integrations - Acts as a routing wrapper that adds structured class controllers and dependency injection to Express servers.
  • Express Routing Integration - Organizes Express routes and request handlers using class-based decorators to reduce boilerplate.
  • Koa Integrations - Acts as a routing wrapper that adds structured class controllers and dependency injection to Koa servers.
  • Koa Routing Middleware - Provides structured class-based routing and middleware definition for Koa servers using TypeScript.
  • Parameter Injections - Automatically extracts request parameters from bodies, headers, and queries and injects them into handler arguments.
  • Request Data Transformation - Transforms plain JSON request payloads into typed class instances to ensure type safety and business logic consistency.
  • Decorator-Based Route Mappings - Uses TypeScript decorators to map HTTP endpoints to specific class methods via metadata.
  • TypeScript - Builds structured server-side applications using TypeScript to organize endpoints into a declarative class-based architecture.
  • Web Framework Controllers - Provides a declarative class-based routing layer for organizing API endpoints using decorators in TypeScript.
  • Web Server Adapter Drivers - Implements an adapter-based system to decouple routing logic from underlying web servers like Express and Koa.
  • Request and Response Interception - Provides a layer to intercept and transform the data returned by controllers before the final response is delivered.
  • JSON Response Serializers - Automatically serializes controller return values into JSON and sets the appropriate Content-Type headers.
  • Role-Based Access Control - Implements access control via decorators to restrict controller actions based on assigned user roles and permissions.
  • Automatic Dependency Discovery - Automatically discovers and registers controllers, middleware, and interceptors using filesystem glob patterns.
  • Parameter - Provides reusable decorators to extract specific values from the request context directly into action parameters.
  • Dependency Injection - Supports injecting services into controllers and handlers using compatible dependency injection containers.
  • Authenticated User Injectors - Injects the identity of the authenticated user directly into controller methods via a custom retrieval function.
  • Filesystem Scanning - Automatically registers controllers and middleware by scanning the filesystem using glob patterns.
  • HTTP Response Builders - Provides decorators to programmatically define HTTP status codes, headers, and redirects for API responses.
  • Global Error Handlers - Captures exceptions across the application and converts them into a standardized format via a custom global handler.
  • Standard HTTP Error Responses - Returns standardized HTTP error responses using built-in or custom exception classes like NotFoundError.
  • Request Middleware - Enables running custom logic before or after route handlers at the global, controller, or method level.
  • Ordered Middleware Pipelines - Provides an ordered pipeline for executing global, class-level, or method-level middleware.
  • Request-Response Interceptors - Implements application-level interceptors to modify the final result of a controller before it is sent to the client.
  • Backend Middleware - Implements global and route-specific logic for authentication and authorization using TypeScript decorators.
  • Typed Path Parameter Decoders - Provides type-safe parsing and validation of URL path and query parameters into primitive types.

سجل النجوم

مخطط تاريخ النجوم لـ typestack/routing-controllersمخطط تاريخ النجوم لـ typestack/routing-controllers

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

مجموعات مختارة تضم Routing Controllers

مجموعات منسقة بعناية يظهر فيها Routing Controllers.
  • تطوير الويب

بدائل مفتوحة المصدر لـ Routing Controllers

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Routing Controllers.
  • spec-first/connexionالصورة الرمزية لـ spec-first

    spec-first/connexion

    4,600عرض على GitHub↗

    Connexion is a spec-first Python web framework designed to derive server behavior and validation logic directly from a predefined API contract. It enables the development of web services by using an OpenAPI specification to automatically handle routing, request validation, and response serialization. The framework distinguishes itself by acting as an OpenAPI request validator and mock server. It can simulate API behavior by serving example responses based on specification schemas, allowing for frontend development and prototyping before a backend implementation is completed. Additionally, it

    Pythonapi-firstapi-restflask-extensions
    عرض على GitHub↗4,600
  • hugapi/hugالصورة الرمزية لـ hugapi

    hugapi/hug

    6,883عرض على GitHub↗

    Hug is a Python API framework used for building web services by mapping functions to HTTP endpoints via decorators and type annotations. It functions as a type-based validator that automatically converts and validates incoming request data based on Python type hints and serves as a WSGI-compliant web framework for deployment on production servers. The project is distinguished by its ability to automatically generate API specifications and user-facing documentation derived from function signatures. It further extends the utility of internal logic by exposing functions as terminal commands thro

    Python
    عرض على GitHub↗6,883
  • javalin/javalinالصورة الرمزية لـ javalin

    javalin/javalin

    8,290عرض على GitHub↗

    Javalin is a lightweight web framework for Java and Kotlin designed for building REST APIs and web applications. It functions as an embedded Jetty web server, allowing applications to run as standalone processes without the need for an external servlet container. The project provides specialized frameworks for diverse communication patterns, including a REST API framework with automatic OpenAPI schema generation, a GraphQL API framework with query and mutation resolvers, and a WebSocket server for bidirectional real-time communication. It also includes a dedicated framework for pushing real-t

    Kotlinhacktoberfestjavajavalin
    عرض على GitHub↗8,290
  • ruby-grape/grapeالصورة الرمزية لـ ruby-grape

    ruby-grape/grape

    9,990عرض على GitHub↗

    Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr

    Ruby
    عرض على GitHub↗9,990
عرض جميع البدائل الـ 30 لـ Routing Controllers→

الأسئلة الشائعة

ما هي وظيفة typestack/routing-controllers؟

routing-controllers هو موجه API تصريحي ومتحكم إطار عمل ويب لـ TypeScript. يوفر نظاماً لتحديد مسارات HTTP ومنطق معالجة الطلبات باستخدام مصممات (decorators) قائمة على الفئات وبيانات وصفية لتنظيم نقاط نهاية API في بنية منظمة.

ما هي الميزات الرئيسية لـ typestack/routing-controllers؟

الميزات الرئيسية لـ typestack/routing-controllers هي: Class-Based Logic Organization, REST API Frameworks, Integration Adapters, Reflection-Based Data Mapping, Request Validation, Declarative API Router Registrations, Automatic Parameter Injection, Parameter Coercion and Validation.

ما هي البدائل مفتوحة المصدر لـ typestack/routing-controllers؟

تشمل البدائل مفتوحة المصدر لـ typestack/routing-controllers: spec-first/connexion — Connexion is a spec-first Python web framework designed to derive server behavior and validation logic directly from a… hugapi/hug — Hug is a Python API framework used for building web services by mapping functions to HTTP endpoints via decorators and… javalin/javalin — Javalin is a lightweight web framework for Java and Kotlin designed for building REST APIs and web applications. It… ruby-grape/grape — Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative… pylons/pyramid — Pyramid is a Python web framework and WSGI toolkit designed for building web applications. It functions as a URL… prefecthq/fastmcp — FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models…