awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेस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·7 व्यूज़

Routing Controllers

routing-controllers, TypeScript के लिए एक घोषणात्मक API राउटर और वेब फ्रेमवर्क कंट्रोलर है। यह API एंडपॉइंट्स को एक संरचित आर्किटेक्चर में व्यवस्थित करने के लिए क्लास-आधारित डेकोरेटर और मेटाडेटा का उपयोग करके HTTP रूट और अनुरोध हैंडलिंग लॉजिक को परिभाषित करने के लिए एक प्रणाली प्रदान करती है।

यह प्रोजेक्ट अंतर्निहित वेब फ्रेमवर्क से राउटिंग लॉजिक को अलग करने के लिए एडेप्टर-आधारित सर्वर एकीकरण का उपयोग करता है, जो 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 के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

Routing Controllers को शामिल करने वाली क्यूरेटेड खोजें

चुनिंदा कलेक्शन जहाँ Routing Controllers दिखाई देता है।
  • वेब डेवलपमेंट

अक्सर पूछे जाने वाले प्रश्न

typestack/routing-controllers क्या करता है?

routing-controllers, TypeScript के लिए एक घोषणात्मक API राउटर और वेब फ्रेमवर्क कंट्रोलर है। यह API एंडपॉइंट्स को एक संरचित आर्किटेक्चर में व्यवस्थित करने के लिए क्लास-आधारित डेकोरेटर और मेटाडेटा का उपयोग करके HTTP रूट और अनुरोध हैंडलिंग लॉजिक को परिभाषित करने के लिए एक प्रणाली प्रदान करती है।

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…

Routing Controllers के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Routing Controllers के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • spec-first/connexionspec-first का अवतार

    spec-first/connexion

    4,600GitHub पर देखें↗

    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/hughugapi का अवतार

    hugapi/hug

    6,883GitHub पर देखें↗

    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/javalinjavalin का अवतार

    javalin/javalin

    8,290GitHub पर देखें↗

    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/graperuby-grape का अवतार

    ruby-grape/grape

    9,990GitHub पर देखें↗

    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
  • Routing Controllers के सभी 30 विकल्प देखें→