by seanpk8 · 10y ago · 0 comments
The server provides dependency injection so that when you implement your handler-level function it can access several re-usable services to do the "real work". Generally my handlers are limited to getting the parameters off the request, passing them on to a (chain of) service(s) and getting the response back out to the client.
I hope the wiki has some good additional info if you're interested: https://github.com/blueoakjs/blueoak-server/wiki
No comments yet.