macchiato-core
macchiato-core copied to clipboard
Ring style HTTP server abstraction for Node.js
How can I test my routes/handlers? In my opinion something like [this](https://github.com/macchiato-framework/macchiato-core/blob/e46036df3413f9c5aa5024389b95122481ce93b1/test/macchiato/test/mock/request.cljs) should be part of separate lib: `macchiato-testing` or something like this.
**I hacked Macchiato to work with the [Express](http://expressjs.com) web framework**, combining the two on the same server. It facilitates Express-based servers to be gradually converted to use Macchiato. And existing...
Have a central registry for middleware that would allow automatic resolution for the middleware chain. Have a mechanism for the middleware libraries to register themselves when the dependency is included....
Proposal to have middleware accept the handler at the time the request is being handled instead of wrapping the handler function in a closure. The middleware could then be kept...