stick
stick copied to clipboard
Additional middleware proposals
While playing with writing a lean RESTful API with Stick I've come to add some custom middleware.
Maybe it would make sense to have something like that distributed with core in one way or another.
Please have a look at:
https://github.com/robi42/todos-ng/tree/master/src/main/coffee/middleware
BTW, usage can be seen here:
https://github.com/robi42/todos-ng/blob/master/src/main/coffee/actions.coffee
Looks good, why don't you convert to JS and make a pull request?
I like them, but this should be pull not issue