I am working on a web application developed using Koa.JS. My goal is to deploy it both on Azure Cloud Function and AWS Lambda so that I can avoid maintenance of server-related tasks and remain flexible with cloud providers. Is there any framework available that can support these deployment requirements? Below is the code snippet for my web application:
index.ts
const Koa = require('koa');
const app = new Koa();
app.use(async ctx => {
ctx.body = 'Hello World';
});
app.listen(3000);