Hacker News new | ask | show | jobs
by CallMeMarc 1792 days ago
I personally only used serverless functions in combination with Next.js (which is by Vercel) and there may be are other rules if you don’t use Next.

But reading the docs I’d just copy an example hello world function into my git repository, try to deploy it and check if it works without paying.

Regarding the lambda approach, I personally think lambda functions and especially with the api gateway get too complicated too fast in comparison with a solution like Vercel. I’d definitely recommend an infrastructure as code tool like Terraform if you choose this approach.

1 comments

yes, I figured it out. had to restructure my node js component into folders oddly, but that worked out fine