mikestaub / serverless-express

Run your unmodified express app on AWS Lambda via the Serverless framework.
MIT License
150 stars 21 forks source link

does this support a loopback4 app? #31

Open srikanthadibhatla opened 3 years ago

srikanthadibhatla commented 3 years ago

loopbak 4 is based on express , is there a way we can use this plugin to proxy the azure function requests to the loopback app?

we cant really access const app = require('express') to change it

is there a way around this? can i do it on the serverless handler somehow, considering i get access to the loopback app instance in the handler

mikestaub commented 3 years ago

I don't think so as this needs to replace the original express instance and I don't think you can do that after it is initialized by loopback.

iliasbhal commented 3 years ago

@srikanthadibhatla Do you have a way to export the express app reference?