routing-controllers

This library allows you to create structured and declared controller classes using TypeScript on the roofs of Express and Koa. Classes containing methods that manage operations allow you to identify and support the use of intense decorators. JSON offers a number of features such as data processing, routing parameters injection, and middleware integration.

RO

typestack · Web Frameworks & Runtimes

STARS4.5K
FORKS393
COMMITS0
CONTRIBUTORS0
VERSIONv0.11.3
UPDATED5 mo ago
TypeScriptExpressKoaControllersMIT
What can it do?
  • You define controller classes that meet requests in Express or Koa projects.
  • You inject the routing, query, body, and header parameters directly into the methods.
  • You configure authorization features and custom error managers.
User reviews
  • ↓ NegativeGitHub Issue

    Routing-Controllers + class-validator bug?

    “> From [11000100111000]( in [typestack/class-validator#128]( When using the automatic validation from routing-controllers for some reason the email "patch@patch" is valid when we are using these validators and the "patch" validator group ```js @IsEmail({ allow_display_name:…”

  • • NeutralGitHub Issue

    feature: class transformer should strip additional properties

    “As per the doc, a new instance of class is generated by the class-transformer, then why it contains additional properties. For the following post data: ```javascript { "email": "[email protected]", "name": "test name", "password": "password4", "company": "My Company" } ``` And…”

GitHub

My note

More in: Web Frameworks & Runtimes