Coder Social home page Coder Social logo

chumijs / chumi Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 3.0 383 KB

🌈A middleware framework based on Koa, providing annotations for Controller, Route, Parameter, Service, and other functionalities at runtime.

License: MIT License

TypeScript 100.00%
chumi egg koa midway nest nodejs

chumi's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

chumi's Issues

feature - swagger

  1. 在多个chumi实例下时,且当前的swagger地址是一致的,可以将多个实例的接口描述进行合并
  2. 强化swagger的支持能力,目前response能力欠缺,swagger页面的try功能,体验不太好

feature

  1. 路由地址支持正则 @Get(/^\/api\/user/)
  2. 路由支持中间件 @Get("/api",{ middleware: [] })
  3. 多个路由绑定到同一个方法上
    @Get("/user")
    @Get("/abc")
    async index(){
      return "123"
    }
  4. 文件上传 @Files
  5. 支持form-data @fields

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.