0.1.7 • Published 5 years ago

@dunai/server v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

@dunai/server

TypeScript framework

  • bases on express.js
  • simple
  • cleanly and powerful

TODO

  • redirect - code
  • sendText
  • json
  • sendFile
  • headers -
  • range -

Use [Application] decorator to define application and [createApp] to create instance

Use [Controller] decorator to define class as Controller

In controller you need use decorators [Action] to define actions

You may use parameter decorators [Path], [Query], [Body] and [Entity] to bind data from request