2 ms·
Could you elaborate (or link to a framework) for doing the server generated HTML on Lambda?
by dtx1 4y ago
Could you elaborate (or link to a framework) for doing the server generated HTML on Lambda?
- revicon 4y agoI mean I'm literally building an AWS lambda function that outputs HTML when it's called via API Gateway. So someone hits https://mydomain.com/mycoolpage https://mydomain.com/mycoolpage, then the MyCoolPage AWS Lambda function is executed, does database queries or reaches out to other lambda functions I've built as microservices and then outputs <html>whatever</html>. If you're interested, I use https://middy.js.org/ https://middy.js.org/ as a middleware engine for my AWS lambda functions which I find helpful. I use the open sourced serverless framework for doing deploys https://www.serverless.com/ https://www.serverless.com/ though I'm probably going to move to using AWS SAM in the future.