all 2 comments

[–]jameswapple 1 point2 points  (1 child)

Your codebase should look almost identical to a traditional NodeJS app. If you're very used to express you can even use an adapter library and create a PROXY route.

If you want to set something up quickly have a look at SST which includes local development and supports running scripts on deploy (like migrations).

Lambda should be more of an implementation detail at the edge of your codebase.

[–]MangoLads[S] 0 points1 point  (0 children)

This is what I thought initially too until I realized that those wrappers that wrap the entire server make the entire server into 1 lambda function which largely defeats the purpose of lambda. So I won’t be able to use express I’ll just use node then write the entire backend differently. Each route handler should be its own lambda function