modofun
modofun copied to clipboard
A fast function router for serverless Node.js applications
My routes currently look something like this: { 'abcLogin': handleAbcLogin, 'abcLogout': handleAbcVerify, 'abcDoAction': handleAbcDoAction, 'xyzLogin': handleXyzLogin, 'xyzLogout': handleXyzVerify, 'xyzDoAction': handleXyzDoAction } but I'd like the paths to look like this:...
Is there a way, in Function mode, to return a 302 redirect type response? Or would I need to move to Request/Response mode for that? Thanks, cool library.
Hello Team, https://github.com/modofunjs/modofun/blob/master/examples/todo-aws-lambda/index.js Can I have more than one module const myModule = require('./myModule'); and export them together to be registered in the serverless framework. for e.g const myModule =...