web-decorators
web-decorators copied to clipboard
- [ ] Use next if a thunk returns an error - [ ] Use next if a promise returns an error
How to provide the typing information through an npm package ? - [ ] Create .npmignore file - [x] Create a dist .d.ts type definition file - [ ] Normalize...
Use https://www.npmjs.com/package/route-parser for route matching, implement the concept of routes and middlewares. - [ ] Create the main handler function to give to http#createServer() - [ ] Create the structure...
- [ ] Add cookie attribute in ResponseMetadata - [ ] Make the express adapter to send the cookies
- [ ] send a file - [ ] send a file as an attachement - [ ] do a permenant / temporary redirection - [ ] Access denied -...
Add error handler in controllers ? Maybe something like spring's controller advice ?
Find something to "mount" other controllers to a current controller, so the app would be a tree of Controller linking each other. A PropertyDecorator might be used for that purpose.